Files
keycloak/config/00-realm-config.yaml

33 lines
866 B
YAML

realm: $(REALM_NAME)
hostname: $(KEYCLOAK_HOSTNAME)
frontendUrl: $(KEYCLOAK_HOSTNAME)
enabled: true
displayName: $(REALM_DISPLAY_NAME)
loginTheme: Blue_stripes
attributes:
userProfileEnabled: true
registrationAllowed: true
registrationEmailAsUsername: false # Set to true if you want email as username
editUsernameAllowed: true # Prevent username changes after registration
internationalizationEnabled: true
defaultLocale: ru
supportedLocales:
- ru
smtpServer:
# Sender Details
from: $(EMAIL_ADRESS)
fromDisplayName: $(REALM_NAME)
# Connection Settings
host: $(SMTP_HOST)
port: $(SMTP_PORT) # Common ports: 25, 465 (SSL), 587 (TLS)
auth: true
ssl: $(SMTP_SSL) # Enable for port 465
starttls: $(SMTP_STARTLS) # Enable for port 587
# Authentication Credentials (use string values directly)
user: $(SMTP_USER)
password: $(SMTP_PASSWORD)