Deploy ArcticWorks CodePeer

Self-hosted AI code reviewer for GitHub pull requests.

Deploy ArcticWorks CodePeer

/var/lib/postgresql/data

Just deployed

Deploy and Host ArcticWorks CodePeer on Railway

ArcticWorks CodePeer is a self-hosted AI code reviewer for GitHub. Install it as your own GitHub App and it watches every repository you give it access to: on each pull request it fetches the diff, runs a team of specialist LLM agents over it, and posts a review with a summary, severity-tagged inline comments, and one-click fix suggestions.

About Hosting ArcticWorks CodePeer

CodePeer is a headless Go server with no web UI. It needs two things to run: a Postgres database, which stores installations, reviews, learning signals, and the job queue, and a public HTTPS endpoint that GitHub can deliver webhooks to. This template provisions both, wires DATABASE_URL between them, and exposes the bot on a Railway domain. Database migrations run automatically on startup, and health endpoints at /healthz and /readyz report liveness and database reachability. You supply your own GitHub App credentials and DeepSeek API key at deploy time, so your code and your secrets stay in infrastructure you control.

Common Use Cases

  • Automatic review coverage on every pull request across an organization, with findings posted as native GitHub review comments and suggestion blocks
  • A second pair of eyes for small teams and solo maintainers who have no one else to review their code
  • Repository-level policy enforcement, using per-repo .codepeer.yml rules and custom instructions to focus reviews on security, performance, or house style

Dependencies for ArcticWorks CodePeer Hosting

  • A PostgreSQL database (provisioned by this template)
  • Your own GitHub App: App ID, private key, and webhook secret
  • A DeepSeek API key for the review model

Implementation Details

Create the GitHub App before deploying. It needs read and write on Pull requests, Issues, and Checks, read on Contents, and the pull_request, push, issue_comment, installation, and installation_repositories events. Generate a private key and paste it into GITHUB_APP_PRIVATE_KEY — the PEM works base64-encoded, which keeps it to a single line.

After the deploy, copy the service's Railway domain and set the App's webhook URL to https:///webhook, using the GITHUB_WEBHOOK_SECRET value the template generated. Then install the App on the account, organization, or repositories you want reviewed.

Why Deploy ArcticWorks CodePeer 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 ArcticWorks CodePeer 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
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
116
View Template
stella
Self-host stella with web, API, Postgres, Redis, and object storage.

Jan Kubica
5
View Template
Hermes Agent | OpenClaw Alternative with Dashboard
Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

codestorm
67