services: # Spring Boot 백엔드 (운영용) backend: build: context: ../../backend-spring dockerfile: ../docker/prod/backend-spring.Dockerfile container_name: pms-backend-prod ports: - "8081:8081" networks: - pms-network environment: - SPRING_PROFILES_ACTIVE=prod - SERVER_PORT=8081 - SPRING_DATASOURCE_URL=jdbc:postgresql://39.117.244.52:11132/plm - SPRING_DATASOURCE_USERNAME=postgres - SPRING_DATASOURCE_PASSWORD=ph0909!! - JWT_SECRET=ilshin-plm-super-secret-jwt-key-2024 - JWT_EXPIRATION=86400000 - FILE_UPLOAD_DIR=./uploads restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8081/health"] interval: 30s timeout: 10s retries: 3 start_period: 90s networks: pms-network: external: true