Files
tp/serv_nginx/keycloak/keycloak.conf
T
valitovgaziz 72e7d8b5f2 modified: serv_nginx/docker-compose.yml
modified:   serv_nginx/keycloak/keycloak.conf
keycloak modifay configs and environment vars
2025-10-21 05:52:18 +05:00

42 lines
825 B
Plaintext

# Database configuration
db=postgres
db-url-host=keycloak-db
db-url-port=5432
db-url-database=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=/
# Hostname configuration
hostname=https://yalarba.ru
hostname-strict=false
hostname-strict-https=false
hostname-strict-backchannel=false
hostname-path=/
# Proxy configuration
proxy=x_forwarded
proxy-address-forwarding=true
# CORS settings
http-cors=true
http-cors-max-age=3600
http-cors-methods=GET,POST,PUT,DELETE,OPTIONS,PATCH
http-cors-headers=*
# Health checks
health-enabled=true
# Features
features=token-exchange,admin-fine-grained-authz
# Logging (для отладки)
log-level=INFO