Commit Graph

3 Commits

Author SHA1 Message Date
4aee6ea9f0 Make template 100% clone-and-deploy ready 2025-09-11 18:59:17 +05:30
7a47ca4058 Fix django_site relation error by adding Site configuration
- Add configure_site management command to create Django Site object
- Configure site domain as dt.netcoptech.com during startup (like quantum-digital)
- Update both compose files to run configure_site after migrations
- This fixes the 'relation django_site does not exist' error on /accounts/login/

Django Allauth requires a Site object to work properly.
2025-09-11 18:39:00 +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