ecom-support-copilot / docker-compose.yml
LaelaZ's picture
Deploy SupportCopilot to HF Spaces (Docker)
8981bf6 verified
raw
history blame contribute delete
483 Bytes
services:
supportcopilot:
build: .
ports:
- "8000:8000"
environment:
# Defaults to the offline stub. Uncomment and set a key to use a real provider.
# - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
# - OPENAI_API_KEY=${OPENAI_API_KEY}
- LLM_PROVIDER=auto
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/healthz')"]
interval: 30s
timeout: 5s
retries: 3