fix(reverse-proxy): 🐛 fix ports var interpolation

ref https://github.com/docker/compose/pull/1765
This commit is contained in:
Collin M. Barrett 2020-10-03 10:31:28 -05:00
parent e9f6235f02
commit 08bae1eb19
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ version: "3.7"
services:
reverse-proxy:
ports:
- ${REVERSE_PROXY_HOST_PORT_HTTP}:80
- "${REVERSE_PROXY_HOST_PORT_HTTP}:80"
volumes:
- ./reverse-proxy/conf.d.dev:/etc/nginx/conf.d:ro
command: ["nginx-debug", "-g", "daemon off;"]

View file

@ -5,7 +5,7 @@ version: "3.7"
services:
reverse-proxy:
ports:
- ${REVERSE_PROXY_HOST_PORT_HTTPS}:443
- "${REVERSE_PROXY_HOST_PORT_HTTPS}:443"
depends_on:
- web
volumes: