build(docker): make the web port configurable
This commit is contained in:
parent
61ec3db7b3
commit
bd2910781c
2 changed files with 3 additions and 1 deletions
2
.env
2
.env
|
@ -1 +1,3 @@
|
|||
COMPOSE_PROJECT_NAME=oliverdavies-uk
|
||||
|
||||
DOCKER_WEB_PORT_FORWARD=80
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
ports:
|
||||
- 80:80
|
||||
- "${DOCKER_WEB_PORT_FORWARD:-80}:80"
|
||||
|
||||
app:
|
||||
build:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue