Refactor docker-compose to match standard NPM setup (remove internal network)
All checks were successful
Deploy to Production / deploy (push) Successful in 3s
All checks were successful
Deploy to Production / deploy (push) Successful in 3s
This commit is contained in:
@@ -1,14 +1,17 @@
|
|||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
nonograms:
|
||||||
container_name: nonograms-app
|
container_name: nonograms
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
expose:
|
||||||
- "8081:80"
|
- "80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# Uncomment the following lines if you want to mount the configuration locally for development/testing
|
networks:
|
||||||
# volumes:
|
- npm_public
|
||||||
# - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
||||||
|
networks:
|
||||||
|
npm_public:
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user