Docs Get started
Configuration
Every setting of Open Revoke lives in the .env file next to compose.yaml. This page lists the variables and what each one changes.
Docker Compose reads .env from the folder with compose.yaml and passes the values to the app container. Copy .env.example to start.
Required
| Variable | What it does |
|---|---|
OPEN_REVOKE_SECRET_KEY |
Fernet key that encrypts connector secrets. The stack refuses to start without it. Losing it makes stored secrets unreadable. |
Address and ports
| Variable | Default | What it does |
|---|---|---|
PUBLIC_URL |
http://localhost:18410 |
The address people open. Invite and password reset links, “Connect with Google”, the secure cookie flag and the host names the API answers to follow it. |
OPEN_REVOKE_BIND |
127.0.0.1 |
Where the panel listens on the server. 0.0.0.0 opens it on every interface (plain http). |
OPEN_REVOKE_PORT |
18410 |
Published port of the panel. |
OPEN_REVOKE_HTTP_PORT, OPEN_REVOKE_HTTPS_PORT |
80, 443 |
Ports of the bundled Caddy (--profile https). |
GOOGLE_OAUTH_REDIRECT_BASE |
PUBLIC_URL |
Set only when PUBLIC_URL cannot be a Google redirect. |
No mail server
Open Revoke sends no e-mail, so there is nothing to set for mail. An admin copies invite links and one-time password reset links from the panel and passes them on (see First run).
Actions
| Variable | Default | What it does |
|---|---|---|
ACTION_VERIFY_DELAY_SECONDS |
30 |
Seconds between the reads that verify a write. |
Development only
Leave these off on a real install.
| Variable | What it does |
|---|---|
OPEN_REVOKE_ENABLE_FAKE_CONNECTOR |
Adds the fake connector with test accounts on example.com. |
OPEN_REVOKE_DEV_PREFILL |
Buttons on the sign-in pages fill the forms with test values. Anyone who opens the panel sees that password. |