Overview
Framework ships Dokploy configs and Docker Compose for production. This guide covers deploying Postgres, PgBouncer, Redis, Hasura, and the application services on a DigitalOcean droplet.
Prerequisites
- DigitalOcean droplet (4 GB RAM minimum recommended)
- Domain pointed to the server
- Stripe account for billing module
Infrastructure
- SSH into the droplet and install Docker.
- Deploy core containers from
cloud/docker-compose.ymlβ Postgres, PgBouncer, Redis, Hasura. - Apply Hasura migrations:
pnpm hasura:schema:apply(orpnpm hasura:migrate+pnpm hasura:metadata:apply).
Applications
Use definitions in cloud/dokploy/apps.json for app, service, website, and backoffice. Each app has a health check path documented in the deploy module.
Environment
Copy .env.example from each app. Set DATABASE_URL, Stripe keys, and OAuth credentials before first deploy.
Verify
Run pnpm dokploy:health from your local machine (requires root .env with SERVER_IP) to confirm all endpoints respond.
Conclusion
Production deploy is a configuration exercise β the boilerplate handles Dockerfiles, health checks, and Dokploy wiring so you focus on env vars and your product domain.