Deploy Open Ship

Self-hosted Review, Steward and Approvals for GitHub pull requests.

Deploy 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

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

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
121
View Template
Evolution API with n8n
Automate WhatsApp workflows with Evolution API, n8n, and Postgres.

codestorm
123
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
867