# NEGO 협상 에이전트 — backend(:3300) + 데모 frontend(:3000) # 실행: ./run.sh (또는 docker compose up -d --build) services: backend: build: ./server image: nego-backend:latest ports: - "3300:3300" volumes: # 실 API 키가 든 config.toml 은 이미지에 굽지 않고 실행 시 마운트한다 - ./server/config.toml:/app/config.toml:ro # 계측 로그(contracts·response_time·tension)를 호스트에 남긴다 - ./server/data:/app/data # 지표 측정을 계획서 평가환경(= 이 컨테이너)에서 돌리기 위한 마운트. # 경로는 저장소 구조를 그대로 재현해야 한다 — 측정기가 HERE.parent.parent 로 # testdata·server 를 찾으므로 /eval, /testdata 로 나란히 걸어야 맞는다. # 측정 결과·로그는 각 /eval/<지표>/ 폴더에 그대로 남는다. - ./eval:/eval - ./testdata:/testdata restart: unless-stopped frontend: build: ./frontend image: nego-frontend:latest ports: - "3000:80" depends_on: - backend restart: unless-stopped