quantumtaskai-caprover/dokploy.json
thecyberlearn 2bd49184a9 Fix database configuration and add actual domain
- Add quamtumtaskai.netcoptech.com to ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS
- Fix database configuration to fallback to SQLite when no PostgreSQL DATABASE_URL provided
- This should resolve the 502 Bad Gateway error caused by database connection failures
2025-09-05 10:25:50 +05:30

24 lines
898 B
JSON

{
"name": "quantum-tasks-ai",
"type": "dockerfile",
"dockerfile": "./Dockerfile.dokploy",
"port": 3000,
"healthCheck": "/health/",
"buildArgs": {},
"buildOptions": ["--no-cache"],
"security": {
"redirectHttpsToHttp": true,
"forceHttps": false
},
"env": {
"PYTHONUNBUFFERED": "1",
"DEBUG": "false",
"SECRET_KEY": "production-key-change-this-123456789",
"ALLOWED_HOSTS": "quamtumtaskai.netcoptech.com,website-quantumtaskai-wrczik-cc50ac-31-97-62-205.traefik.me,*",
"DOKPLOY_PROJECT_NAME": "quantum-tasks-ai",
"SECURE_SSL_REDIRECT": "false",
"SECURE_PROXY_SSL_HEADER": "HTTP_X_FORWARDED_PROTO,https",
"CSRF_TRUSTED_ORIGINS": "https://quamtumtaskai.netcoptech.com,http://quamtumtaskai.netcoptech.com,https://website-quantumtaskai-wrczik-cc50ac-31-97-62-205.traefik.me,http://website-quantumtaskai-wrczik-cc50ac-31-97-62-205.traefik.me"
}
}