Option A: Docker Compose¶
deploy/docker/compose.yaml runs PostgreSQL (unix socket
only, no TCP listener), the server image ghcr.io/maltekiefer/limdm-server (read only root
filesystem, no capabilities) and Caddy. All images are pinned by digest.
Fill in .env:
| Variable | Value |
|---|---|
LIMDM_DOMAIN |
DNS name of the server, for example mdm.example.com |
LIMDM_VERSION |
image tag, for example 0.16.0 (default latest, the newest release) |
LIMDM_SESSION_KEY |
openssl rand -hex 32; also derives the keys for stored secrets, keep it safe |
POSTGRES_PASSWORD |
openssl rand -hex 32 (hex only, it is part of the database URL) |
LIMDM_LOCAL_LOGIN |
true to allow local accounts (password and TOTP) |
LIMDM_OIDC_*, LIMDM_ADMINS, LIMDM_AUDITORS |
optional, OIDC can also be configured later in the console |
Start and create the first account:
docker compose up -d
docker compose logs -f limdm # wait for "admin UI listening"
docker compose exec limdm limdm-server local-admin add admin
The last command prints the user name, a generated password and a TOTP secret
(otpauth:// URI) for an authenticator app. It is shown once.
Verify the image provenance of a release: