Parse Server Template
Full Parse Server scaffold — Dockerfile, src/, GitHub Actions workflows.
- Repo: dps-templates-parse-server
- Docker image:
ghcr.io/duabalabs/parse-server(latest,7.0.0,6.5.0,6.4.0) - Path:
apps/dps/dps-templates/dps-templates-parse-server - Status: ✅ 100%
What it includes
- Parse Server + Express bootstrap.
- Dockerfile +
docker-compose.ymlwithenv_file(MongoDB included for self-hosted, excluded for DPS-hosted where MongoDB is provisioned externally). - GitHub Actions workflow for build + push to
ghcr.io/duabalabs. - Sample
cloud/directory withmain.tsentry. - Pre-wired
parse-dashboardfor the/dashboardroute.
How DPS uses it
When a customer creates a parse-server app:
- The wizard (
ParseInstanceCreateDialog.tsx) collects name, region, tier, and optional GitHub repo. dps_createParseInstanceprovisions the container viadocker-orchestrator.ts.- The image (
ghcr.io/duabalabs/parse-server:<version>) is pulled. - Environment variables (
PARSE_APP_ID,PARSE_MASTER_KEY,DATABASE_URI) are injected. - Nginx + SSL (Certbot) are configured for the customer subdomain.
- The instance is registered in the master DPS database with health check + metrics.
If the customer connected a GitHub repo, the template is forked into their account and DPS subscribes to push webhooks for redeploys.
Configuration fields
The wizard exposes these fields (defined in templates.ts):
| Field | Type | Required |
|---|---|---|
name | string | ✅ |
region | enum | ✅ |
version | enum (Docker tag) | ✅ |
databaseAdapter | mongodb | postgres | ✅ |
customDomain | string | ❌ |
githubRepo | string | ❌ |