23 lines
604 B
YAML
23 lines
604 B
YAML
|
|
services:
|
|
ai_code_converter:
|
|
build: .
|
|
ports:
|
|
- "${PORT:-7860}:7860"
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- ./downloads:/app/downloads
|
|
environment:
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
|
|
- GOOGLE_API_KEY=${GOOGLE_API_KEY}
|
|
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}
|
|
- GROQ_API_KEY=${GROQ_API_KEY}
|
|
- PORT=${PORT:-7860}
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:7860/healthz"]
|
|
interval: 30s
|
|
timeout: 30s
|
|
retries: 3
|
|
start_period: 5s
|
|
restart: unless-stopped |