docker-zulip
docker-zulip copied to clipboard
added support for .env files
This allows users to simply set values in a .env
file and keep using the docker-compose.yml
file as-is, so that updates are easier
Thanks, this would be great! I have a question on this. I have to comment out the port lines for 80 and 443, as my reverse proxy handles that. Any way to do this "comment out" or cancel lines with .env?
@maltokyo one way would be to also put those ports in the .env file and change the docker-compose.yml
to bind them to whatever is in .env
ports:
- "${PUBLIC_HTTP_PORT}:80"
- "${PUBLIC_HTTPS_PORT}:443"
Unfortunately I don't know of anyway to fully remove the port binding