services: # Node.js 백엔드 plm-backend: build: context: ../../backend-node dockerfile: ../docker/prod/backend.Dockerfile container_name: plm-backend restart: always environment: NODE_ENV: production PORT: "3001" DATABASE_URL: postgresql://postgres:ph0909!!@39.117.244.52:11132/plm JWT_SECRET: ilshin-plm-super-secret-jwt-key-2024 JWT_EXPIRES_IN: 24h CORS_ORIGIN: https://v1.vexplor.com CORS_CREDENTIALS: "true" LOG_LEVEL: info volumes: - /home/vexplor/backend_data:/app/uploads labels: - traefik.enable=true - traefik.http.routers.backend.rule=Host(`api.vexplor.com`) - traefik.http.routers.backend.entrypoints=websecure,web - traefik.http.routers.backend.tls=true - traefik.http.routers.backend.tls.certresolver=le - traefik.http.services.backend.loadbalancer.server.port=3001 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3001/health"] interval: 30s timeout: 10s retries: 3 start_period: 60s networks: default: name: toktork_server_default external: true