hotosm / tasking-manager

Tasking Manager - The tool to team up for mapping in OpenStreetMap
https://wiki.openstreetmap.org/wiki/Tasking_Manager
BSD 2-Clause "Simplified" License
504 stars 271 forks source link

Improve docker defaults #5313

Open SlowMo24 opened 2 years ago

SlowMo24 commented 2 years ago

Config file

If I understand correctly the tasking-manager.env file is built into the container instead of mounting it as a volume. This requires rebuilding the container if the .env changes. Splitting the file into the following three groups would provide the opportunity to

Traefik

Treafik may be used by HOT on their server and is a good suggestion for everyone. As such it should be mentioned in the docker setup documentation. But it makes the Tasking Manager docker complex and error prone. I suggest to remove it and expose the relevant ports instead. Any server setup and routing can then be done by the respective user/admin to her preferences.

Remove docker-compose.override

The docker-compose.override file should either be removed (If we override things by default, then why not put them in the main docker-compose?) or it should feature all and only the config that requires adaption by the user.

Additional context

Related: #5087

Your project has taught me a lot and introduced me to traefik. Thanks for that!

//edit: Is the docker make script used? Otherwise it could be deleted to de-clutter the repository.

eternaltyro commented 1 year ago

Subtask of #5705