Commit Graph

2 Commits

Author SHA1 Message Date
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