You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
604 B

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