build(docker): make web port forward configurable

Make the forwarded web port configurable using an environment variable.
This commit is contained in:
Oliver Davies 2022-03-02 07:48:45 +00:00
parent cedc2ab219
commit 57b4a35f98

View file

@ -8,7 +8,7 @@ services:
volumes:
- .:/app
ports:
- "8000:8000"
- "${DOCKER_COMPOSE_WEB_FORWARD:-127.0.0.1:80}:8000"
env_file:
- .env
tty: true