更新 docker-compose.yml

This commit is contained in:
ywp
2025-10-22 15:03:24 +08:00
parent b6016d5f3e
commit edf741f46d

View File

@ -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