build(docker): make web port forward configurable
Make the forwarded web port configurable using an environment variable.
This commit is contained in:
parent
cedc2ab219
commit
57b4a35f98
|
@ -8,7 +8,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "${DOCKER_COMPOSE_WEB_FORWARD:-127.0.0.1:80}:8000"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
tty: true
|
tty: true
|
||||||
|
|
Loading…
Reference in a new issue