services: # Node.js 백엔드 pipeline-backend: build: context: ../../backend-node dockerfile: ../docker/dev/backend.Dockerfile container_name: pipeline-backend env_file: - ../../backend-node/.env ports: - "8080:8080" extra_hosts: - "host.docker.internal:host-gateway" environment: - CORS_ORIGIN=http://localhost:9771 volumes: - ../../backend-node:/app # 개발 모드: 코드 변경 시 자동 반영 - /app/node_modules networks: - pipeline-network restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health"] interval: 30s timeout: 10s retries: 3 start_period: 60s networks: pipeline-network: driver: bridge