Services, ports and volumes
Environment variables
Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Keycloak backed by Postgres instead of its default embedded database, for a real multi-instance setup.
| Service | Image | Container ports | Volumes |
|---|---|---|---|
db | postgres:16-alpine | none | keycloak_postgres_db_data -> /var/lib/postgresql/data |
keycloak | quay.io/keycloak/keycloak:26.1 | 8080 | keycloak_postgres_data -> /opt/keycloak/data |
| Service | Variable | Value |
|---|---|---|
db | POSTGRES_DB | Preset in the template |
db | POSTGRES_PASSWORD | Generated at deploy |
db | POSTGRES_USER | Preset in the template |
keycloak | KC_BOOTSTRAP_ADMIN_PASSWORD | Generated at deploy |
keycloak | KC_BOOTSTRAP_ADMIN_USERNAME | Generated at deploy |
keycloak | KC_DB | Preset in the template |
keycloak | KC_DB_PASSWORD | Generated at deploy |
keycloak | KC_DB_URL | Preset in the template |
keycloak | KC_DB_USERNAME | Preset in the template |
keycloak | KC_HEALTH_ENABLED | Preset in the template |
keycloak | KC_HOSTNAME | Preset in the template |
keycloak | KC_HTTP_ENABLED | Preset in the template |
keycloak | KC_LEGACY_OBSERVABILITY_INTERFACE | Preset in the template |
keycloak | KC_PROXY_HEADERS | Preset in the template |
levelrail-cli templates deploy keycloak-postgres --name my-keycloak-postgres