Deploy PocketBase + Litestream + Hooks
PocketBase with Litestream backups, easy hooks and api rules management.
Pocketbase + Litestream + Hooks and Api Rules
Just deployed
backups-bucket
Bucket
Just deployed
Deploy and Host Pocketbase + Litestream + Hooks on Railway
Production ready PocketBase template with
- litestream automated streaming backups (PITR)
- easy to manage hooks dashboard plugin
- easy to manage pb api rules dashboard plugin
- improved security with defined origins support only
Allows you to deploy any pocketbase version, any s3 bucket for backups and easily manage your hooks within railway as well as see your api rules through plugins.
About Hosting Pocketbase + Litestream + Hooks
After deploying the template create your first admin user and visit
- PB Hooks Dashboard: https://yoursite.com/hooks-dash
- PB Api Rules Dashboard: https://yoursite.com/rules-overview.html
Both are piggy-backing your admin token so they are safe to use!
Common Use Cases
- Production ready baas
- PITR & automated streaming sqlite backups via litestream
- Hooks management within dashboard
- Easier api rules visibility within dashboard
Dependencies for Pocketbase + Litestream + Hooks Hosting
- PocketBase - version config via env variables
- Litestream
- pb-hooks plugin
- pb-rules plugin
Deployment Dependencies
Pocketbase: https://pocketbase.io Litestream: https://litestream.io/ Hooks Dashboard: https://github.com/deselected/pb-hooks-dash Rules Dashboard: https://github.com/deselected/pb-rules-overview/tree/main
Why Deploy Pocketbase + Litestream + Hooks on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Pocketbase + Litestream + Hooks on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Pocketbase + Litestream + Hooks and Api Rules
orenaksakal/pocketbase-litestream-railwayPB_ORIGINS
Origin urls you would like your api to support e.g. http://localhost:3000 or https://www.yoursite.com
backups-bucket
Bucket