Docker
Deploy the Omnigent server with Docker Compose. The stack includes the server and a Postgres database.
Quick start
cd deploy/docker
./bootstrap.sh # generates DB password + cookie secret into .env
docker compose up -d # Omnigent server + PostgresThen connect your laptop:
omni login https://your-host
omni host https://your-hostEnvironment variables
Key variables in .env:
| Variable | Purpose |
|---|---|
DATABASE_URL | Postgres connection string |
OMNIGENT_AUTH_ENABLED | Enable multi-user auth (default: 1 in Docker) |
OMNIGENT_OIDC_COOKIE_SECRET | Session cookie secret |
OMNIGENT_OIDC_ISSUER | OIDC issuer URL (enables SSO) |
OMNIGENT_OIDC_CLIENT_ID | OIDC client ID |
OMNIGENT_OIDC_CLIENT_SECRET | OIDC client secret |
No admin password is auto-generated. On first boot the server reports needs_setup: open the web UI and create the admin account there, or set OMNIGENT_ACCOUNTS_INIT_ADMIN_PASSWORD in .env to preset it for headless deploys.