Deploy PowerSync Starter (Postgres)
PowerSync Open Edition Starter with Postgres. Build synced apps.
Postgres Source Data
Just deployed
/var/lib/postgresql/data
PowerSync Service
Just deployed
/powersync
Postgres (PowerSync Bucket Storage)
Just deployed
/var/lib/postgresql/data
Demo Node.js Backend
Just deployed
Sync Diagnostics Client
Just deployed
Execute Scripts
Just deployed
Deploy and Host PowerSync on Railway
This template provides a quick and reliable way to deploy a complete PowerSync stack, including backend, database, PowerSync service, and PowerSync diagnostics app.
About Hosting PowerSync
Hosting PowerSync on Railway sets up a full sync engine environment for local-first and offline-first apps. This template creates all essential services:
- A Node.js backend for authentication and API endpoints
- Postgres databases for source data and bucket storage
- The PowerSync service to maintain sync between your database and your clients
- The Sync Diagnostics Client for monitoring sync events
- An Execute Scripts service that creates the lists and todos tables and configures the powersync publication
Railway automatically connects these services and manages environment variables, reducing setup complexity while letting you focus on building and testing your application.
Common Use Cases
- Own and deploy your complete PowerSync stack with full control over your infrastructure
- Self-host your PowerSync environment instead of using the cloud-hosted version
- Maintain data sovereignty by keeping all sync infrastructure within your own deployment
Additional Resources
Template Content
Postgres Source Data
ghcr.io/railwayapp-templates/postgres-ssl:17PowerSync Service
journeyapps/powersync-servicePostgres (PowerSync Bucket Storage)
ghcr.io/railwayapp-templates/postgres-ssl:17Demo Node.js Backend
powersync-ja/powersync-nodejs-backend-todolist-demoSync Diagnostics Client
journeyapps/powersync-diagnostics-appExecute Scripts
ghcr.io/railwayapp/function-bun:1.3.0