37cac72085
- Docker/K8s 배포 설정을 pipeline-backend/pipeline-front로 통일 - 네임스페이스, 서비스, PVC 등 k8s 리소스명 pipeline-* 로 변경 - AI 에이전트 관리 기능 추가 (에이전트, 그룹, 프로바이더, 대화, API 키, 지식베이스) - 장비 연결 관리 기능 추가 (PLC/Modbus/OPC-UA/MQTT) - 배치 스케줄러에 AI agent/device collection/crawling 타입 추가 - 배치 편집 UI 개선 (6가지 실행 방식 지원) - 회사별 페이지(COMPANY_*) 제거 및 AdminPageRenderer 최적화 - 메뉴 재구성: 장비 연결 관리 시스템관리로 이동, 에이전트 오케스트레이션으로 개명 - ai-assistant 디렉토리 제거 (backend-node로 통합) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
40 lines
917 B
YAML
40 lines
917 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
# Next.js 프론트엔드만
|
|
pipeline-front:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: ../docker/dev/frontend.Dockerfile
|
|
container_name: pipeline-front
|
|
ports:
|
|
- "9771:3000"
|
|
environment:
|
|
- NEXT_PUBLIC_API_URL=http://localhost:8080/api
|
|
- WATCHPACK_POLLING=true
|
|
- NODE_OPTIONS=--max-old-space-size=4096
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 6G
|
|
reservations:
|
|
memory: 2G
|
|
volumes:
|
|
- ./frontend:/app
|
|
- /app/node_modules
|
|
- /app/.next
|
|
networks:
|
|
- pipeline-network
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000", "||", "exit", "1"]
|
|
interval: 30s
|
|
timeout: 15s
|
|
retries: 3
|
|
start_period: 60s
|
|
|
|
networks:
|
|
pipeline-network:
|
|
driver: bridge
|
|
external: false
|