Deploy Railway Gitea Bridge
Auto-deploy from Gitea, Forgejo or Codeberg to Railway
railway-gitea-bridge
Just deployed
/data
Deploy and Host Railway Gitea Bridge on Railway
Self-hosted bridge that deploys your Gitea, Forgejo or Codeberg repos to Railway on push. Attach a public domain before registering a passkey, since the bridge uses RAILWAY_PUBLIC_DOMAIN as its WebAuthn rp_id.
About Hosting Railway Gitea Bridge
Railway Gitea Bridge is a small Rust service that listens for push webhooks from your Git forge and triggers deployments of your other Railway projects. It stores its state in a SQLite database on a persistent volume mounted at /data. Set RAILWAY_TOKEN to a Railway workspace or account token, optionally set GITEA_URL and GITEA_TOKEN to enable repo listing and auto-created webhooks, then open the public domain to sign in.
Common Use Cases
- Auto-deploy Railway projects from Codeberg repositories
- Auto-deploy Railway projects from self-hosted Gitea or Forgejo
- Manage forge webhooks and deployments from one place
Dependencies for Railway Gitea Bridge Hosting
- A Railway workspace or account token
- A Gitea, Forgejo or Codeberg account (optional API token)
Implementation Details
Source: https://github.com/gui-wf/railway-gitea-bridge (MIT). The service builds from its Dockerfile, listens on port 8080 and exposes a /health healthcheck.
Why Deploy Railway Gitea Bridge 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 Railway Gitea Bridge 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
railway-gitea-bridge
gui-wf/railway-gitea-bridgeRAILWAY_TOKEN
Railway workspace or account token used to deploy your other projects