Open the server Apps tab
Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.


Open-source backend in a single file with realtime database, auth, and file storage
Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the PocketBase template in Server Compass to deploy a self-hosted backend service on your VPS, then verify the PocketBase web UI in a browser.
Select your VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find PocketBase in the Server Compass template catalog.

Choose the PocketBase template. Server Compass fills the Dockerfile build, host port, persistent data volume, and public files volume.

Confirm the app name and compose services. In this run, the app was named pocketbase-demo and used host port 8090.

Review the generated environment values, confirm the port is available, and click Deploy Now.

Keep the deployment modal open while Server Compass uploads the compose file, pulls the PocketBase image, starts the container, and verifies the stack.

After deployment finishes, return to the Apps tab and confirm the PocketBase app is marked Running with its application URL available.

Open the application URL in a browser. The PocketBase web UI confirms the site is reachable.

It deploys PocketBase with persistent data and public volumes for collections.
The tutorial used host port 8090, which maps to the PocketBase web server on container port 8090.
The tutorial verifies the clean first-run web UI because real collections, API rules, auth providers, and file storage depend on the production server.
No. The deployment guide should live on the PocketBase template detail page and be linked from the reusable template deployment docs page.
Want full control? Here's how to deploy PocketBase yourself using Docker Compose.
Access your server's command line by opening a terminal and running the SSH command below.
# SSH into your server
ssh root@your-server-ip
# Using a custom SSH key
ssh -i ~/.ssh/id_rsa root@your-server-ipFirst time? Need Docker? Install it: curl -fsSL https://get.docker.com | sh
Set up the folder structure for your Docker deployment.
# Create and navigate to project directory
mkdir -p ~/apps/pocketbase
cd ~/apps/pocketbaseSet up your Docker Compose file with this configuration:
services:
pocketbase:
build:
context: .
dockerfile: Dockerfile
ports:
- "8090:8090"
volumes:
- pb_data:/pb/pb_data
- pb_public:/pb/pb_public
restart: unless-stopped
volumes:
pb_data:
pb_public:
PORTHost port to expose(default: 8090)Start all services defined in your compose file.
# Start the containers in detached mode
docker compose up -d
# Check if containers are running
docker compose ps
# View logs
docker compose logs -fOpen the port so you can access the application externally.
# Allow the application port through firewall
sudo ufw allow 8090/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:8090Skip the terminal and deploy PocketBase with a visual interface. Configure everything with clicks, not commands.
After deploying PocketBase with Server Compass, complete these steps to finish setup
Access admin UI at /_/
Create your admin account
Create collections
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting PocketBase
Simply download Server Compass, connect to your VPS, and select PocketBase from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
PocketBase requires a minimum of 256MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard PocketBase backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest PocketBase image will be pulled and deployed with zero downtime.
PocketBase is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.
Download Server Compass and deploy PocketBase to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass