Operators

Self-hosting

Run PullOwl on your own server with Docker Compose. The app listens for GitHub webhooks, stores review metadata in PostgreSQL and runs analysis in worker sandboxes.

Prepare the server

  1. Install Docker and the Compose plugin on a dedicated VM. The default deployment mounts the Docker socket so PullOwl can start analysis containers.
  2. From your PullOwl checkout, use go run ./cmd/pullowl setup to create or configure the GitHub App and local settings. Keep the App private key, webhook secret, OAuth client secret and model keys on the server.
  3. Configure a model provider and a strong POSTGRES_PASSWORD when using the bundled database. Keep the PostgreSQL volume and back up the deployment configuration.

Publish on your domain

  1. Point the domain's A record to the VM's public IPv4 address. Allow inbound TCP 80 and 443 in your cloud network rules and host firewall.
  2. Set PULLOWL_DOMAIN to the hostname. Set PUBLIC_URL to the full HTTPS URL when ready to switch the webhook.
  3. Start the TLS profile with docker compose --profile tls up -d --build. Caddy obtains a certificate and serves the site.
  4. Confirm https://your-domain/healthz returns an OK status. Then check the homepage, GitHub sign-in, and webhook deliveries.

Connect the GitHub App

Under Identifying and authorizing users, add https://your-domain/auth/callback to the redirect URI list. Use https://your-domain/webhooks/github as the webhook URL. Ensure the configured webhook secret matches on GitHub and the server. During a domain migration, keep the previous callback until sign-in works on the new domain.

Use a temporary URL for development

The Compose tunnel profile starts a Cloudflare Quick Tunnel. Its address can change if the tunnel restarts. Update the GitHub App's redirect URI when you need sign-in at a new address.

For key rotation and provider routing after setup, see the Owner console.