Add expose 80 to docker-compose
This commit is contained in:
@@ -1,16 +1,13 @@
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
piggy-bank:
|
||||||
container_name: nonograms-app
|
container_name: nonograms-app
|
||||||
build:
|
build: .
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
ports:
|
|
||||||
- "8081:80"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Uncomment the following lines if you want to mount the configuration locally for development/testing
|
# ports:
|
||||||
volumes:
|
# - "8081:80"
|
||||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
expose:
|
||||||
|
- "80"
|
||||||
networks:
|
networks:
|
||||||
- npm_public
|
- npm_public
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user