services:
  # Next.js 프론트엔드만
  frontend:
    build:
      context: ../../frontend
      dockerfile: ../docker/prod/frontend.Dockerfile
      args:
        - NEXT_PUBLIC_API_URL=http://39.117.244.52:8081/api
    container_name: pms-frontend-linux
    ports:
      - "5555:5555"
    environment:
      - NODE_ENV=production
      - NEXT_PUBLIC_API_URL=http://39.117.244.52:8081/api
    networks:
      - pms-network
    restart: unless-stopped

networks:
  pms-network:
    driver: bridge
    external: true
