Skip to content

Self-host PocketBase on your own VPS

A complete backend in a single file: database, user login, file storage and realtime API. Ideal for small apps and prototypes.

Realtime backend in one file.

Category
Backend
What gets deployed
One container
HTTPS
Automatic, as soon as your domain points at the server
Plan
Any paid plan (Solo, Pro or Agency)

How to deploy PocketBase with DeployOS

  1. 1

    Connect your server

    Paste your VPS's IP address and SSH key. DeployOS installs Docker, a firewall and HTTPS routing in one pass.

  2. 2

    Choose PocketBase

    Open Templates and pick PocketBase. Give it a name and, if you have one, a domain.

  3. 3

    Press Deploy

    DeployOS starts it, checks it answers, and gives you its address. Passwords it generates are kept in your computer's keychain.

PocketBase on a VPS: common questions

How do I install PocketBase on a VPS?

Connect your server in DeployOS by pasting its IP address, open Templates, choose PocketBase, give it a name and a domain, and press Deploy. When it finishes you get its address over HTTPS.

What does it cost to self-host PocketBase?

PocketBase is included with every paid DeployOS plan, from $79 once for Solo. You also pay your VPS provider, typically about $5 a month for a small server, and the same server can run your other apps too.

Do I need to know Docker to run PocketBase?

No. DeployOS writes the configuration, starts the container, routes your domain to it and gets the HTTPS certificate. You manage it from the app: restart, logs, backups and updates.