
Deploy PocketBase on Your Own Server
PocketBase is an open source Go backend: - embedded database (SQLite) with realtime subscriptions - built-in files and users management - convenient Admin dashboard UI - and simple REST-ish API
Want to deploy PocketBase on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is PocketBase?
PocketBase is an open source Go backend: - embedded database (SQLite) with realtime subscriptions - built-in files and users management - convenient Admin dashboard UI - and simple REST-ish API
Self-Host PocketBase
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
pocketbase:
volumes:
- pocketbase-data:/pb
volumes:
pocketbase-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:8080
Why Self-Host PocketBase?
Full Data Ownership
Your data stays on your servers. No third-party access.
No Monthly Fees
Pay only for your server. No per-seat or usage charges.
Complete Control
Customize, backup, and scale on your own terms.
Privacy & Compliance
Meet GDPR, HIPAA, or internal security requirements.
Technical Details
Want to go faster?
Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.
Install on any Linux server:
sh -c "$(curl -sSL https://get.senate.sh)"