Skip to content
M.R. Dula edited this page Oct 6, 2026 · 8 revisions

Deploy

Platform How
Railway Template open-gateway-1 — app + Postgres + Redis + volume. Railway
Fly.io fly.toml in the repo
Docker Compose make docker-up — Install
GHCR ghcr.io/mrdulasolutions/open-gateway:0.1.13

Always set OPENGATEWAY_AUTH_TOKEN for anything that is not loopback.


Fly.io

fly apps create opengateway-YOURNAME
fly volumes create og_data --size 1 --region iad
fly secrets set OPENGATEWAY_AUTH_TOKEN="$(openssl rand -hex 24)"
fly secrets set OPENGATEWAY_PUBLIC_URL="https://opengateway-YOURNAME.fly.dev"
fly deploy
fly open /ui/

Paste the token in Settings if the UI asks. Optional Redis: OPENGATEWAY_REDIS_URL for multi-machine fan-out. See Data and scale.

Public Fly/Railway URLs are the client base URL. Do not expect a Tailnet card unless you also run Tailscale Serve in front of that host.


GHCR

Published on v* tags by Publish OSS (.github/workflows/publish.yml).

docker pull ghcr.io/mrdulasolutions/open-gateway:0.1.13
docker run --rm -p 8765:8765 \
  -e OPENGATEWAY_AUTH_TOKEN="$OPENGATEWAY_AUTH_TOKEN" \
  -v og-data:/data \
  ghcr.io/mrdulasolutions/open-gateway:0.1.13

What the hub must not do

Public, Fly, and Railway processes coordinate rooms. They do not run Claude Code, Grok, Hermes, or shell. Pair a runner on a trusted machine. Agents

Canonical: docs/DEPLOY.md.

Clone this wiki locally