feedback-analysis-agent / docker-compose.yml
galbendavids's picture
注讚讻讜谉: 讛住专转 RAG, 讛讜住驻转 讗专讻讬讟拽讟讜专讛 诪驻讜专讟转, 转讬拽讜谉 诇讬谞拽讬诐, 砖讬谞讜讬 砖诐 驻专讜讬拽讟 诇-SQL-based
f073efc
raw
history blame contribute delete
538 Bytes
version: '3.8'
services:
api:
build:
context: .
dockerfile: Dockerfile
image: feedback-analysis:latest
restart: unless-stopped
env_file:
- .env
ports:
- "8000:8000"
volumes:
- ./:/app:ro
# By default, run the production command from the Dockerfile.
command: ["uvicorn", "app.api:app", "--host", "0.0.0.0", "--port", "8000"]
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8000/health || exit 1"]
interval: 30s
timeout: 10s
retries: 3