tkuester / taky

A simple python TAK server
MIT License
188 stars 43 forks source link

Add configuration -c to taky_dps & custom DPS port. #51

Closed fieldmapper closed 2 years ago

fieldmapper commented 2 years ago

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?

pinztrek commented 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.

tkuester commented 2 years ago

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?

tkuester commented 2 years ago

Relevant commits: f644258