Deploy: GitHub submodule sync 2026-07-23 12:46:52

This commit is contained in:
Macbook
2026-07-23 12:46:52 +09:00
parent fb55262bbc
commit 9ea8540979
339 changed files with 811 additions and 44137 deletions
+75
View File
@@ -0,0 +1,75 @@
# exdev Mac Studio 서버 — Agent RAG (Mac Docker: 포트 매핑 필수, host network 미지원)
name: exaichatbot-agent
services:
qdrant:
image: qdrant/qdrant:v1.18.2
ports:
- "6333:6333"
- "6334:6334"
volumes:
- ./qdrant_data:/qdrant/storage
restart: unless-stopped
api:
image: "${RAG_API_IMAGE:-rag-api-slim:latest}"
build:
context: .
dockerfile: docker/service-slim.Dockerfile
ports:
- "${RAG_API_PORT:-28012}:28012"
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- qdrant
env_file:
- .env
environment:
PYTHONUNBUFFERED: "1"
HTTP_PROXY: ""
HTTPS_PROXY: ""
QDRANT_HOST: qdrant
QDRANT_PORT: "6333"
MONGO_HOST: host.docker.internal
LLM_BASE_URL: http://host.docker.internal:16000
TEI_EMBED_URL: http://host.docker.internal:16001
TEI_RERANK_URL: http://host.docker.internal:16002
volumes:
- ./data:/app/data
- ./scripts:/app/scripts
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:28012/health"]
interval: 10s
timeout: 10s
retries: 12
start_period: 60s
admin:
image: "${RAG_API_IMAGE:-rag-api-slim:latest}"
ports:
- "${ADMIN_PORT:-28013}:28013"
extra_hosts:
- "host.docker.internal:host-gateway"
command:
- python
- -m
- uvicorn
- scripts.admin_service:app
- --host
- 0.0.0.0
- --port
- "28013"
working_dir: /app
depends_on:
- qdrant
env_file:
- .env
environment:
PYTHONUNBUFFERED: "1"
QDRANT_HOST: qdrant
QDRANT_PORT: "6333"
volumes:
- ./data:/app/data
- ./scripts:/app/scripts
restart: unless-stopped