allow ephemeral host port selection to container port 80
This commit is contained in:
parent
962a5be29f
commit
2321e5389d
@ -28,7 +28,7 @@ services:
|
||||
restart: unless-stopped
|
||||
tty: true
|
||||
ports:
|
||||
- "8000:80"
|
||||
- "80" # Here port 80 in the container is mapped to any ephemeral port (random Docker chosen port) on the host.
|
||||
volumes:
|
||||
- ./server:/var/www
|
||||
- ./docker/nginx/conf.d/:/etc/nginx/conf.d/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user