Deploy PocketBase

Open source backend in one file: SQLite database, auth, files, admin UI

Deploy PocketBase

Just deployed

/pb_data

Deploy and Host PocketBase on Railway

PocketBase is an open source backend in a single binary: an embedded SQLite database with realtime subscriptions, user authentication, file storage and an admin dashboard.

About Hosting PocketBase

This template runs the community ghcr.io/muchobien/pocketbase:latest image (PocketBase has no official image) with a volume at /pb_data, so the database and uploads survive redeploys. Set PB_ADMIN_EMAIL to your email when deploying: the superuser is created on start with the generated PB_ADMIN_PASSWORD (see the service variables). Then sign in at /_/.

Common Use Cases

  • Backend for web and mobile apps without writing a server
  • Prototypes and small production apps with auth and file uploads
  • Realtime data and REST API on one URL

Dependencies for PocketBase Hosting

  • One service with a volume; nothing else

Deployment Dependencies

Why Deploy PocketBase on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
50
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
51