Self-Host PocketBase with Docker Compose
PocketBase is an open-source Go backend in 1 file with embedded SQLite database, user management and auth, realtime subscriptions, and an intuitive admin dashboard.
Minimum Hardware Requirements
version: '3.8'
services:
pocketbase:
image: ghcr.io/muchobien/pocketbase:latest
container_name: pocketbase
restart: unless-stopped
ports:
- "8090:8090"
environment:
- NODE_ENV=production
- TZ=UTC
volumes:
- pocketbase_data:/data
volumes:
pocketbase_data:
driver: local
docker-compose.yml and run:
docker compose up -d
VPS RAM & Server Sizing Calculator
Planning to run PocketBase alone or alongside other self-hosted containers on one VPS? Toggle apps to calculate your exact RAM needs with a 25% safety buffer.
Matched Cloud VPS Tiers for Selected Workload:
Replaces Firebase
Commercial cloud solution with per-user monthly subscription fees.
More Databases Apps View All →
Compare PocketBase
Benchmark specs head-to-head with other open-source alternatives
Compare PocketBase Side-by-Side
Select any open-source tool from the dropdown to run a hardware, memory, and popularity benchmark against PocketBase.