# Database configuration - ИСПРАВЛЕННЫЙ ФОРМАТ
db=postgres
db-url=jdbc:postgresql://keycloak-db:5432/keycloak
db-username=keycloak
db-password=${KC_DB_PASSWORD}

# Admin credentials
admin-username=${KEYCLOAK_ADMIN}
admin-password=${KEYCLOAK_ADMIN_PASSWORD}

# HTTP configuration
http-enabled=true
http-port=8080
http-relative-path=/auth

# Hostname configuration
hostname=https://yalarba.ru
hostname-path=/auth
hostname-strict=true
hostname-strict-https=true
hostname-strict-backchannel=false

# Proxy configuration
proxy=reencrypt
proxy-address-forwarding=true

# Health checks
health-enabled=true

# Features
features=token-exchange,admin-fine-grained-authz

# Logging
log-level=INFO

# Transaction recovery (для исправления предупреждения)
transaction-xa-enabled=true