mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 08:52:57 +00:00
- Remove nginx container (Dokploy handles reverse proxy) - Use port 3000 for web service to avoid conflicts - Let Dokploy handle SSL and routing - Simplified architecture works better with Dokploy
33 lines
972 B
YAML
33 lines
972 B
YAML
services:
|
|
web:
|
|
build: .
|
|
ports:
|
|
- "3000:8000"
|
|
environment:
|
|
- DEBUG=false
|
|
- ALLOWED_HOSTS=ai.quantumtaskai.com,*.quantumtaskai.com,localhost,127.0.0.1
|
|
- CSRF_TRUSTED_ORIGINS=https://ai.quantumtaskai.com,https://quantumtaskai.com
|
|
- DATABASE_URL=${NEON_DATABASE_URL}
|
|
- SECRET_KEY=${SECRET_KEY}
|
|
- EMAIL_HOST_USER=${EMAIL_HOST_USER}
|
|
- EMAIL_HOST_PASSWORD=${EMAIL_HOST_PASSWORD}
|
|
- STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY}
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
- GROQ_API_KEY=${GROQ_API_KEY}
|
|
- SERPAPI_API_KEY=${SERPAPI_API_KEY}
|
|
- OPENWEATHER_API_KEY=${OPENWEATHER_API_KEY}
|
|
volumes:
|
|
- static_volume:/app/staticfiles
|
|
- media_volume:/app/media
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/health/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
volumes:
|
|
static_volume:
|
|
media_volume:
|