Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
48 lines
2.0 KiB
YAML
48 lines
2.0 KiB
YAML
# 고객사 -12 용 오버라이드 (2026-09-22 실측 기준)
|
|
# - -12 는 컨테이너 안이라 iptables 권한이 없음 → dockerd 를 --iptables=false --bridge=none 으로 띄움
|
|
# → 컨테이너끼리 브릿지 네트워크가 없으니 전부 host 네트워크로, 서로는 127.0.0.1:<포트> 로 부름
|
|
# - minio 는 clickhouse 와 9000 이 겹쳐 9100 으로 옮김
|
|
# - 웹은 바깥에서 닿는 빈 포트 8915 로 직접 listen (PORT env)
|
|
#
|
|
# docker compose -f docker-compose.yml -f docker-compose.customer.yml up -d
|
|
services:
|
|
langfuse-web:
|
|
network_mode: host
|
|
ports: !override []
|
|
environment:
|
|
PORT: "8915"
|
|
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/postgres
|
|
CLICKHOUSE_URL: http://127.0.0.1:8123
|
|
CLICKHOUSE_MIGRATION_URL: clickhouse://127.0.0.1:9000
|
|
REDIS_HOST: 127.0.0.1
|
|
LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT: http://127.0.0.1:9100
|
|
LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT: http://127.0.0.1:9100
|
|
LANGFUSE_S3_MEDIA_UPLOAD_INTERNAL_ENDPOINT: http://127.0.0.1:9100
|
|
LANGFUSE_S3_BATCH_EXPORT_ENDPOINT: http://127.0.0.1:9100
|
|
langfuse-worker:
|
|
network_mode: host
|
|
ports: !override []
|
|
environment:
|
|
DATABASE_URL: postgresql://postgres:postgres@127.0.0.1:5432/postgres
|
|
CLICKHOUSE_URL: http://127.0.0.1:8123
|
|
CLICKHOUSE_MIGRATION_URL: clickhouse://127.0.0.1:9000
|
|
REDIS_HOST: 127.0.0.1
|
|
LANGFUSE_S3_EVENT_UPLOAD_ENDPOINT: http://127.0.0.1:9100
|
|
LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT: http://127.0.0.1:9100
|
|
LANGFUSE_S3_BATCH_EXPORT_ENDPOINT: http://127.0.0.1:9100
|
|
clickhouse:
|
|
network_mode: host
|
|
ports: !override []
|
|
minio:
|
|
network_mode: host
|
|
ports: !override []
|
|
command: -c 'mkdir -p /data/langfuse && minio server --address ":9100" --console-address ":9101" /data'
|
|
environment:
|
|
MC_HOST_local: http://minio:miniosecret@127.0.0.1:9100 # healthcheck(mc ready local)가 9100 을 보게
|
|
redis:
|
|
network_mode: host
|
|
ports: !override []
|
|
postgres:
|
|
network_mode: host
|
|
ports: !override []
|