Agent 서버 구축: 멀티테넌트 협상 PoC (UCB Q-Table 학습 + /chat + 14 API + 학습검증 하네스), config 단일화(local.toml) + 빌드 경량화

This commit is contained in:
HyeongBaeYang committed 2026-06-17 11:10:03 +09:00
1 parent 212725e5f9
commit 951d6eab84
140 files changed
+6689 -214

No files matched your search

+18 -5
View File
@@ -6,17 +6,18 @@
# docker compose up -d
# negosium 서버: http://localhost:9300/docs
# negodata 서버: http://localhost:9400/docs
# agent 서버: http://localhost:9500/docs
#
# DB 준비(최초 1회): postgres-init/01-schema.sql 을 대상 DB 에 적용한다.
# psql -h <host> -p <port> -U <user> -f postgres-init/01-schema.sql
# (negosium_db / negodata_db 와 tbl_account 생성)
# DB 준비(최초 1회): postgres-init 의 SQL 을 대상 DB 에 적용한다.
# psql -h <host> -p <port> -U <user> -f postgres-init/01-schema.sql (negosium_db/negodata_db + tbl_account)
# psql -h <host> -p <port> -U <user> -f postgres-init/02-learning-schema.sql (agent learning 스키마)
services:
negosium-backend:
build: ./backend
container_name: negosium-backend
environment:
APP_ENV: docker
APP_ENV: local
ports:
- "9300:9300"
# 컨테이너에서 호스트의 DB 로 접근 (config.docker.toml 의 host.docker.internal)
@@ -28,9 +29,21 @@ services:
build: ./negodata/backend
container_name: negodata-backend
environment:
APP_ENV: docker
APP_ENV: local
ports:
- "9400:9400"
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
# 협상 에이전트 (negosium_db 공유, learning 스키마 사용).
agent:
build: ./agent
container_name: negosium-agent
environment:
APP_ENV: local
ports:
- "9500:9500"
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped