Spaces:
Sleeping
Sleeping
File size: 932 Bytes
0452a50 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
services:
integrachat:
build:
context: .
dockerfile: Dockerfile
container_name: integrachat
ports:
- "7860:7860" # Gradio UI
- "8000:8000" # FastAPI
- "8900:8900" # MCP Server
environment:
- API_PORT=8000
- MCP_PORT=8900
- GRADIO_PORT=7860
- DOCKER_CONTAINER=1
# Add your environment variables here or use env_file
# - SUPABASE_URL=${SUPABASE_URL}
# - SUPABASE_SERVICE_KEY=${SUPABASE_SERVICE_KEY}
# - GROQ_API_KEY=${GROQ_API_KEY}
# - OLLAMA_BASE_URL=${OLLAMA_BASE_URL}
env_file:
- .env # Optional: load from .env file if it exists
volumes:
# Optional: mount logs directory for persistence
- ./logs:/app/logs
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
|