Docs menu

Docs Get started

Self-hosting on your own domain

Put Open Revoke on a server under your own address, with HTTPS from the bundled Caddy, your own reverse proxy, Cloudflare or a VPN.

This guide puts Open Revoke on a server under an address like https://revoke.example.com. For a first look on your own computer, the quick start is enough.

Open Revoke holds signed-in admin sessions of your SaaS tools (in the shared browser) and connector secrets (in the database). Treat the server like a password manager: few people with shell access, disk encryption, backups you can restore.

What reaches the network

One port: the panel, published on 127.0.0.1:18410 by default. Everything else stays inside the Docker network.

Service Reachable from
Panel and API (/api goes through the panel) the published port
Live view of the shared browser the panel, signed-in admins only
Browser control (CDP) the Compose network only

Open Revoke needs no inbound connection from the internet, so the panel can stay inside a VPN.

1. Configure

cp .env.example .env
openssl rand -base64 32 | tr '+/' '-_'   # put it into .env as OPEN_REVOKE_SECRET_KEY=

Set the address people will type:

PUBLIC_URL=https://revoke.example.com

Everything follows PUBLIC_URL: the invite and password reset links the panel shows, the “Connect with Google” redirect, the Secure flag of the session cookie, and the host names the API answers to.

2. Choose how people reach the panel

A. Public domain, HTTPS from the bundled Caddy

The domain’s DNS record points at the server, and ports 80 and 443 are open to the internet.

docker compose --profile https up -d --build

Caddy reads PUBLIC_URL, gets a Let’s Encrypt certificate, renews it and redirects http to https.

B. Your own reverse proxy or Cloudflare

Start without the profile and point the proxy at 127.0.0.1:18410. The proxy must pass the original Host header and WebSocket upgrades (the live view uses them).

location / {
    proxy_pass http://127.0.0.1:18410;
    proxy_http_version 1.1;
    proxy_set_header Host $host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $connection_upgrade;
    proxy_read_timeout 1h;
}

With Cloudflare Tunnel, point the service at http://localhost:18410. Cloudflare Access in front of it adds your company sign-in before the panel’s own.

C. Private network or VPN

You still need HTTPS: browsers send the password and the session cookie in clear text over http, and Google sign-in refuses it. With Tailscale:

tailscale serve --bg --https=443 http://127.0.0.1:18410

and PUBLIC_URL=https://<machine>.<tailnet>.ts.net.

3. Create the admin

Open the setup link printed on the server (the app log shows it). Only that link creates the first admin, so a stranger who finds the address first cannot take the panel.

Updates and backups: Updating and backups.