Closed fieldmapper closed 2 years ago
this would help quite a bit with dockerization. Really all files/dir paths for critical files should be able to be specified via command lines and also (ideally) via env variable.
Would also help with testing configs, etc.
taky_dps
has always let you specify a manual config file -- but the port setting was ignored. I had assumed that the server would always be on 8080 or 8443, because it was hard coded in ATAK. I had never imagined that people would start using load balancers, but that makes perfect sense.
Now... I haven't yet added an option to allow the users to specify a separate IP address for the COT and DPS... is that a useful feature?
Relevant commits: f644258
Example:
taky_dps -c /etc/taky/taky-other.conf
and on taky.conf
[dp_server]
upload_path = /var/taky/other/dp-user
dp_port = 8444
This will enable taky_dps to read another configuration file together with the correct certificate path to enable dual-server capability?