mirror of
https://github.com/thecyberlearn/quantumtaskai-caprover.git
synced 2026-08-18 08:52:57 +00:00
- Fix ALLOWED_HOSTS configuration in dokploy.json (set to *) - Update production_settings.py to respect SECURE_SSL_REDIRECT environment variable - Change startup script to use netcop_hub.production_settings instead of production_https_settings - Add proper environment variable handling for SSL and CSRF settings - Resolve SSL redirect conflicts between Dokploy proxy and Django settings
24 lines
736 B
JSON
24 lines
736 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": "*",
|
|
"DOKPLOY_PROJECT_NAME": "quantum-tasks-ai",
|
|
"SECURE_SSL_REDIRECT": "false",
|
|
"SECURE_PROXY_SSL_HEADER": "HTTP_X_FORWARDED_PROTO,https",
|
|
"CSRF_TRUSTED_ORIGINS": "https://website-quantumtaskai-wrczik-cc50ac-31-97-62-205.traefik.me,http://website-quantumtaskai-wrczik-cc50ac-31-97-62-205.traefik.me"
|
|
}
|
|
}
|