Commit Graph

4 Commits

Author SHA1 Message Date
thecyberlearn
f048025ff0 Refactor to use environment variables instead of hardcoded values
- Replace hardcoded values in dokploy.json with environment variable substitution
- Make production settings more environment-aware with better defaults
- Add debug logging to help troubleshoot configuration issues
- Update .env.example with Dokploy-specific configuration
- Add deploy-dokploy.sh helper script for easy environment setup
- Improve ALLOWED_HOSTS and CSRF_TRUSTED_ORIGINS handling with fallbacks

This makes the deployment more flexible and follows 12-factor app principles.
2025-09-05 10:33:31 +05:30
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
thecyberlearn
5b4bc80b03 Fix Dokploy bad gateway issue
- 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
2025-09-05 10:10:02 +05:30
thecyberlearn
b0e8c917ef Initial clean CapRover deployment - no secrets
Complete Django AI agent marketplace with security optimizations
and clean deployment documentation without any API keys or secrets.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 10:50:55 +05:30