docker-zulip icon indicating copy to clipboard operation
docker-zulip copied to clipboard

added support for .env files

Open mnzaki opened this issue 1 year ago • 2 comments

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

mnzaki avatar Nov 29 '22 12:11 mnzaki

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 avatar Dec 14 '22 22:12 maltokyo

@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

mnzaki avatar Mar 27 '23 14:03 mnzaki