更新 docker-compose.yml
This commit is contained in:
@ -1,21 +1,13 @@
|
||||
version: '3'
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: kinlim-time-effectiveness
|
||||
restart: always
|
||||
webapp:
|
||||
build: .
|
||||
container_name: node-nginx-app
|
||||
ports:
|
||||
- "9800:9800"
|
||||
- "8080:80"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
volumes:
|
||||
- ./.env:/app/.env
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user