Deploy Opengist
A Git-powered pastebin for versioned code snippets and notes.
Opengist
Just deployed
/opengist
Deploy and Host Opengist on Railway
Opengist is an open-source, self-hosted pastebin powered by Git. It stores each snippet as a Git repository and provides a web interface for creating, organizing, versioning, searching, and sharing code, Markdown, notes, and small file collections with public, unlisted, or private visibility.
About Hosting Opengist
This community template deploys Opengist 1.14.0 from the official digest-pinned container image. Railway exposes the web application and Git-over-HTTP endpoint on port 6157, checks /healthcheck, and mounts persistent storage at /opengist for the SQLite database, Git repositories, search index, sessions, logs, and generated encryption keys. The public URL is derived from Railway automatically, so deployment requires no credentials or manual variable input. SSH Git access is not exposed; HTTPS clone, pull, and push use the generated Railway domain. This template is not affiliated with or endorsed by the Opengist project.
Common Use Cases
- Keep personal code snippets and technical notes under Git version control.
- Share public or unlisted examples without depending on a hosted gist provider.
- Maintain private, searchable snippets for a small team or homelab.
Dependencies for Opengist Hosting
- Official
ghcr.io/thomiceli/opengist:1.14.0image pinned by immutable digest. - One Railway persistent volume mounted at
/opengist.
Deployment Dependencies
- Opengist Docker installation
- Opengist configuration reference
- Opengist 1.14.0 release
- Umbrel Opengist deployment
Implementation Details
The template sets OG_EXTERNAL_URL=https://${{RAILWAY_PUBLIC_DOMAIN}}. All other settings use Opengist's documented defaults, including port 6157, SQLite with WAL mode, and the Bleve search index. Opengist generates its session and encryption key on first start and stores it inside /opengist, keeping sessions and encrypted MFA data stable across restarts.
Back up the complete /opengist volume before an update. To upgrade, review upstream release notes, test a new immutable image digest against a restored copy, and verify /healthcheck, sign-in, and a representative snippet read/write. Roll back by restoring the previous image digest together with its matching volume backup if a migration is incompatible.
Why Deploy Opengist 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 Opengist on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, and more on Railway.
Template Content