Deploy outpost
AI coding agent with webhook automation and built-in dashboard
Just deployed
/home/developer/dev
Deploy and Host Outpost on Railway
Outpost is a self-hosted OpenCode web UI packaged as a Docker image with a bundled webhook-to-agent pipeline. It gives you a browser-based AI coding agent that autonomously reacts to GitHub events — resolving issues, reviewing PRs, fixing CI, and responding to comments.
About Hosting Outpost
Outpost deploys as a single Docker container exposing the OpenCode web UI and an internal webhook server. Set at least one LLM provider key (e.g. ANTHROPIC_API_KEY) and a GH_TOKEN to get started. The bundled opentower plugin receives GitHub webhooks, verifies HMAC signatures, and dispatches them as agent sessions. Attach a volume at /home/developer/dev to persist projects and session history across redeploys. The container has no built-in auth — front it with Cloudflare Access or an equivalent proxy before exposing publicly.
Common Use Cases
- Autonomous issue resolution — assign a GitHub issue and the agent clones the repo, implements a fix, and opens a draft PR.
- Automated PR review — the agent reviews pull requests, posts structured findings, and can self-fix issues it discovers.
- CI failure remediation — when a check suite fails, the agent diagnoses the error and pushes a fix (up to 3 attempts).
Dependencies for Outpost Hosting
- At least one LLM provider API key (
ANTHROPIC_API_KEY,OPENAI_API_KEY,GEMINI_API_KEY, etc.) - A GitHub Personal Access Token (
GH_TOKEN) withrepo,read:org, andworkflowscopes
Deployment Dependencies
- OpenCode — the underlying AI coding agent
- opentower plugin — webhook ingestion and agent dispatch
- Cloudflare Access (recommended) — auth proxy for the public-facing UI
Why Deploy Outpost 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 Outpost 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
GH_TOKEN
PAT with repo, read:org, workflow scopes. Used for gh CLI and bot identity.
SENTRY_AUTH_TOKEN
Auth token for Sentry CLI. Used for non-interactive auth.
OPENTOWER_API_TOKEN
Bearer token for the /api/* dashboard endpoints. Without this, API requests are rejected with 503.
GITHUB_WEBHOOK_SECRET
HMAC secret for verifying GitHub webhook deliveries. Required to receive webhooks.
