Skip to main content

Deploy the gateway on DigitalOcean

1-Click droplet deploy of the systemprompt.io gateway on DigitalOcean with a bundled Postgres.

DigitalOcean offers 1-Click Marketplace images that boot a fully configured droplet. This channel runs the systemprompt-gateway server with a bundled Postgres on a single self-contained VM.

Pick DigitalOcean when you want one droplet you own end to end, with the database on the same box and no external services.

Install

  1. Deploy the systemprompt 1-Click App from the DigitalOcean Marketplace. Recommended size: 2 vCPU / 4 GB.
  2. SSH in as root. Setup starts automatically and asks for your AI provider API key(s): at least one of Anthropic / OpenAI / Gemini is required. The gateway will not start until a key is provided.
  3. Setup starts the stack, runs migrations and the publish pipeline (several minutes), then prints your gateway URL (http://<droplet-ip>:8080).

Re-run setup any time with sudo /opt/systemprompt/setup.sh. Configuration lives in /opt/systemprompt/.env; apply changes with systemctl restart systemprompt.

Custom domain and TLS

Point a domain at the droplet, set EXTERNAL_URL=https://your.domain in /opt/systemprompt/.env, put your preferred TLS terminator in front of port 8080 (for example Caddy or nginx), and restart the service.

For the complete recipe, see the full DigitalOcean guide in the template repository. For 1-Click apps and droplet management, see the DigitalOcean Marketplace documentation.