Deploy Open Ship
Self-hosted Review, Steward and Approvals for GitHub pull requests.
open-ship
Just deployed
/data
Deploy and Host Open Ship with Railway
Open Ship is a self-hosted service for GitHub pull requests. Its Review posts findings as a check and as comments. Its Steward fixes failing checks, merge conflicts and review comments, and pushes the fixes. Its Approvals check holds a pull request until your policy allows the merge. You run it with your own model API key.
About Hosting Open Ship
Open Ship is one Node.js process with a SQLite database on a volume at /data. This template starts it from the image ghcr.io/kstulgys/open-ship. The first deploy starts in setup state. Open the setup URL from the deploy log on the public domain, and the setup page creates your GitHub App. Then add the github lines that the page shows to OPEN_SHIP_CONFIG_YAML, and deploy again. Run one replica only. The full guide is in the "Railway" section of the README: https://github.com/kstulgys/open-ship#railway
Common Use Cases
- Review each new pull request with a model and post the findings as comments
- Keep pull requests green: the Steward fixes failing checks and merge conflicts
- Hold merges until a pull request passes an Approvals policy
Dependencies for Open Ship Hosting
- An Anthropic API key (
ANTHROPIC_API_KEY) - An E2B API key (
E2B_API_KEY): the Steward runs its Sandboxes on E2B, because Railway has no Docker daemon - A GitHub account that can create a GitHub App
Deployment Dependencies
- Open Ship on GitHub: https://github.com/kstulgys/open-ship
- E2B: https://e2b.dev
- Anthropic API keys: https://console.anthropic.com
Implementation Details
The template sets PORT=3000 (Railway sends the health check to this port), the health check path /healthz, and RAILWAY_RUN_UID=0, so that the container can write to the volume. Set your Repos in repos of OPEN_SHIP_CONFIG_YAML before you deploy.
Why Deploy Open Ship 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 Open Ship 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
open-ship
ghcr.io/kstulgys/open-ship:0.1.0E2B_API_KEY
The E2B API key. The Steward runs its Sandboxes on E2B, because Railway has no Docker daemon.
ANTHROPIC_API_KEY
The Anthropic API key. The Model role lens in OPEN_SHIP_CONFIG_YAML uses it.