chore: migrate Keycloak hostname strictness flags from command arguments to environment variables

This commit is contained in:
Emre Kirman 2026-05-02 12:43:11 +03:00
parent a379e22e84
commit 08444fa504

View File

@ -3,7 +3,7 @@ version: '3.8'
services: services:
keycloak: keycloak:
image: quay.io/keycloak/keycloak:latest image: quay.io/keycloak/keycloak:latest
command: start --http-enabled=true --hostname-strict=false --hostname-strict-https=false command: start --http-enabled=true --hostname-strict=false
environment: environment:
KC_DB: postgres KC_DB: postgres
KC_DB_URL: jdbc:postgresql://postgres-db:5432/keycloak KC_DB_URL: jdbc:postgresql://postgres-db:5432/keycloak
@ -11,8 +11,11 @@ services:
KC_DB_PASSWORD: 98836 KC_DB_PASSWORD: 98836
KEYCLOAK_ADMIN: admin KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: eE24619840420* KEYCLOAK_ADMIN_PASSWORD: eE24619840420*
KC_PROXY_HEADERS: none KC_PROXY_HEADERS: none
KC_HTTP_ENABLED: 'true' KC_HTTP_ENABLED: 'true'
KC_HOSTNAME_STRICT: 'false'
KC_HOSTNAME_STRICT_HTTPS: 'false'
ports: ports:
- target: 8080 - target: 8080
published: 8084 published: 8084