ERP-node/docker-compose.frontend.win...

33 lines
728 B
YAML
Raw Normal View History

2025-08-21 09:41:46 +09:00
version: "3.8"
services:
# Next.js 프론트엔드만
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
container_name: pms-frontend-win
ports:
- "9771:3000"
environment:
- NEXT_PUBLIC_API_URL=http://localhost:8080/api
2025-09-22 17:46:23 +09:00
- WATCHPACK_POLLING=true
2025-08-21 09:41:46 +09:00
volumes:
- ./frontend:/app
- /app/node_modules
- /app/.next
networks:
- pms-network
restart: unless-stopped
2025-09-22 17:46:23 +09:00
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000", "||", "exit", "1"]
interval: 30s
timeout: 15s
retries: 3
start_period: 60s
2025-08-21 09:41:46 +09:00
networks:
pms-network:
driver: bridge
2025-09-22 17:46:23 +09:00
external: false