---
title: "Deploy pocketbase"
description: "Open Source backend for your next SaaS and Mobile app in 1 file"
category: "Other"
url: https://railway.com/deploy/Oasf2M
---

# Deploy pocketbase

Open Source backend for your next SaaS and Mobile app in 1 file

**[Deploy pocketbase on Railway](https://railway.com/template/Oasf2M)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/Oasf2M/manifest.json

- **Creator:** Jorge's Projects
- **Category:** Other
- **Total deploys:** 36

## Template content

### pocketbase

- **Source:** https://github.com/jorgelaranjo/pocketbase

## Documentation

**Overview:** This Docker template sets up PocketBase, a backend-as-a-service platform, using Alpine Linux for a lightweight and efficient environment. It supports specifying the PocketBase version via the `PB_VERSION` environment variable (default is 0.22.18). 

The setup includes installing necessary packages, downloading the specified PocketBase version, and running the server on port 8080. 

**Deployment Instructions:** 
Nothing required

**Steps to Get Started:**
1. Customize the `PB_VERSION` environment variable if a 
different version is required.

2. For external access, configure the `PUBLIC_URL` environment variable with your domain or public URL; this is necessary for accessing the service from the internet. It is available from the service on Railway.

3. If accessing within Railway, no additional configuration is needed.

4. Once the setup is complete, access PocketBase at `http://localhost:8080` or your public URL for further configuration and use.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/Oasf2M
