Docs menu

Docs Get started

Quick start

Run Open Revoke on your own computer with Docker Compose, create the admin account and open the panel in a few minutes.

Requirements

  • Docker with Docker Compose. Images build for arm64 and amd64.
  • Git, to get the source code.

1. Get the code and create the key

git clone https://github.com/Take-Group/openrevoke.git
cd openrevoke
cp .env.example .env
openssl rand -base64 32 | tr '+/' '-_'

Put the printed value into .env as OPEN_REVOKE_SECRET_KEY=. With Python and the cryptography package on the host, this works too:

python3 -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"

OPEN_REVOKE_SECRET_KEY encrypts the connector secrets (API tokens, SCIM tokens, the Google service account key) in the database. The stack refuses to start without it. If you lose the key, you have to enter those secrets again, so keep a copy in a password manager.

2. Start the stack

docker compose up -d --build
Service Address
Panel (the API is behind it, under /api) http://localhost:18410
Browser live view in the panel, page Browser (admins)

3. Create the admin

Open the setup link printed on the server: the app log shows it, and docker compose exec app /app/backend/.venv/bin/python -m app.cli setup-link prints a new one. Only that link creates the organization and its first admin. Everyone after that joins with an invite link from an admin, or signs up and waits for an admin’s approval (see First run).

Stop and start again

docker compose down

Your data stays in the Docker volumes pgdata and browser-profile. docker compose down -v deletes them, including the signed-in admin sessions.

Next