docs/deploy/cloud-platforms/digitalocean.mdx
DigitalOcean is a cloud platform for deploying and managing applications. This guide walks through
deploying ParadeDB on a DigitalOcean Droplet using Docker. Docker packages PostgreSQL and pg_search together, so you don't need to install them manually.
Once the Droplet is running, SSH into it to complete the remaining steps.
curl -fsSL https://get.docker.com | sh
The tag query parameter pins the ParadeDB version. See the Docker Hub page for available tags.
curl -fsSL "https://paradedb.com/install.sh?tag=0.23.3-pg18" | sh
Once the install completes, note the password printed to the terminal — you will need it for the psql connection string below.
To ensure the container restarts automatically if the Droplet reboots:
docker update --restart unless-stopped paradedb
In the DigitalOcean console, navigate to Networking → Firewalls and create a firewall with the following inbound rule:
| Type | Protocol | Port | Sources |
|---|---|---|---|
| Custom | TCP | 5432 | <YOUR_IP_ADDRESS>/32 |
Replace <YOUR_IP_ADDRESS> with your local machine's public IPv4 address (not the Droplet IP). To allow access from any IP, use 0.0.0.0/0 instead. Apply the firewall to your Droplet.
From your local machine:
psql postgres://myuser:mypassword@<DROPLET_IP>:5432/paradedb
Replace <DROPLET_IP> with the public IPv4 address of your Droplet, found on the DigitalOcean console.