2023-08-29 16:32:37 +00:00
|
|
|
POSTGRES_DB=keycloak
|
|
|
|
POSTGRES_USER=keycloak
|
|
|
|
POSTGRES_PASSWORD=keycloak
|
2023-10-25 19:42:52 +00:00
|
|
|
# Don't change this unless you also change the healthcheck in docker-compose-mainnet-eth-keycloak.yml
|
|
|
|
PGPORT=35432
|
2023-08-29 16:32:37 +00:00
|
|
|
KC_DB=postgres
|
|
|
|
KC_DB_URL_HOST=keycloak-db
|
2023-10-25 19:42:52 +00:00
|
|
|
KC_DB_URL_PORT=${PGPORT}
|
2023-08-29 16:32:37 +00:00
|
|
|
KC_DB_URL_DATABASE=${POSTGRES_DB}
|
|
|
|
KC_DB_USERNAME=${POSTGRES_USER}
|
|
|
|
KC_DB_PASSWORD=${POSTGRES_PASSWORD}
|
|
|
|
KC_DB_SCHEMA=public
|
|
|
|
KC_HOSTNAME=localhost
|
|
|
|
KC_HTTP_ENABLED="true"
|
|
|
|
KC_HTTP_RELATIVE_PATH="/auth"
|
|
|
|
KC_HOSTNAME_STRICT_HTTPS="false"
|
|
|
|
KEYCLOAK_ADMIN=admin
|
|
|
|
KEYCLOAK_ADMIN_PASSWORD=admin
|
|
|
|
X_API_CHECK_REALM=cerc
|
|
|
|
X_API_CHECK_CLIENT_ID="%user_id%"
|
|
|
|
|
|
|
|
|
|
|
|
# keycloak-reg-api
|
|
|
|
CERC_KCUSERREG_LISTEN_PORT=9292
|
|
|
|
CERC_KCUSERREG_LISTEN_ADDR='0.0.0.0'
|
|
|
|
CERC_KCUSERREG_API_URL='http://keycloak:8080/auth'
|
|
|
|
CERC_KCUSERREG_REG_USER="${KEYCLOAK_ADMIN}"
|
|
|
|
CERC_KCUSERREG_REG_PW="${KEYCLOAK_ADMIN_PASSWORD}"
|
|
|
|
CERC_KCUSERREG_REG_CLIENT_ID='admin-cli'
|
|
|
|
CERC_KCUSERREG_TARGET_REALM=cerc
|
|
|
|
CERC_KCUSERREG_TARGET_GROUPS=eth
|
|
|
|
CERC_KCUSERREG_CREATE_ENABLED=true
|