Railway

Deploy PocketBase + Litestream + Hooks

PocketBase with Litestream backups, easy hooks and api rules management.

Deploy PocketBase + Litestream + Hooks

Pocketbase + Litestream + Hooks and Api Rules

orenaksakal/pocketbase-litestream-railway

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

  1. PB Hooks Dashboard: https://yoursite.com/hooks-dash
  2. 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-railway

backups-bucket

Bucket

More templates in this category

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

Lucas
View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

Shahed Nasser
View Template
peppermint
Docker-compose port for peppermint.sh

HamiltonAI