Files
Negotiation_daegu/docker-compose.yml
T

24 lines
690 B
YAML

# 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
restart: unless-stopped
frontend:
build: ./frontend
image: nego-frontend:latest
ports:
- "3000:80"
depends_on:
- backend
restart: unless-stopped