- 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.
- 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.