Commit Graph

3 Commits

Author SHA1 Message Date
468710b900 Temporary debugging changes for 500 errors and HTTPS issues
- Enable DEBUG=True to see detailed error messages on failing pages
- Disable SECURE_SSL_REDIRECT to allow HTTP access while troubleshooting
- Add both HTTP and HTTPS to CSRF_TRUSTED_ORIGINS

This will help identify why other pages show 500 errors.
Once issues are fixed, we'll re-enable production settings.
2025-09-11 18:36:52 +05:30
1046a3b05c Fix database configuration for simplified Dokploy setup
- Add docker-compose.dokploy-external-db.yml that matches quantum-digital exactly
- Uses external DATABASE_URL only (no db container)
- Fix docker-compose.dokploy-simple.yml to include database container with proper networking

Choose one approach:
- dokploy-external-db.yml: Use with external database (Neon, Supabase, etc.)
- dokploy-simple.yml: Use with Docker PostgreSQL container

The error 'could not translate host name db' is fixed in both versions.
2025-09-11 18:32:50 +05:30
6185c25776 Add simplified Dokploy configuration based on working quantum-digital project
Based on analysis of successfully deployed project:
- Create docker-compose.dokploy-simple.yml with ports instead of expose
- Remove complex Traefik labels (let Dokploy handle routing via Domain UI)
- Hardcode environment variables in compose file
- Run migrations in the command directly
- Add Dockerfile.simple following their working multi-stage pattern
- Includes Tailwind build and health check

Use docker-compose.dokploy-simple.yml and configure domain via Dokploy UI
2025-09-11 18:29:18 +05:30