Skip to main content

Choose your path

If you want a Linux server you manage directly, follow VPS.
Use this when you want a managed PaaS flow on DigitalOcean.

App Platform flow

1

Create the project

In the DigitalOcean dashboard, create a new project and then create an app from GitHub.
2

Point the build to the Dockerfile

Use a Web Service component with infra/docker/Dockerfile as the Dockerfile path and . as the build context.
3

Set environment variables

Add the shared values from Environment Variables and the correct storage profile from Manual Installation Overview. Mark secrets as encrypted.
4

Create resources and validate

Deploy the app, wait for build completion, and validate the main route.
5

Set the final domain

Add the production domain in App Platform and update SITE_URL to the final HTTPS URL.

Scheduler

App Platform deployment does not replace the sync scheduler requirement. If you are not on Supabase mode, use an external scheduler that follows Scheduled Jobs.

Optional Terraform

export DIGITALOCEAN_TOKEN=<your-token>
cd infra/terraform/environments/production/digital-ocean
cp terraform.tfvars.example terraform.tfvars
terraform init
terraform plan
terraform apply