Update Docker & Kubernetes/Docker/Docker Compose/Keycloak.md

This commit is contained in:
2024-07-09 18:24:37 -06:00
parent eaeee22189
commit 842c9d03a7

View File

@ -27,14 +27,14 @@
image: quay.io/keycloak/keycloak:23.0.6 image: quay.io/keycloak/keycloak:23.0.6
command: start command: start
environment: environment:
TZ: America/Denver TZ: America/Denver # (1)
KC_PROXY_ADDRESS_FORWARDING: true KC_PROXY_ADDRESS_FORWARDING: true # (2)
KC_HOSTNAME_STRICT: false KC_HOSTNAME_STRICT: false
KC_HOSTNAME: auth.bunny-lab.io KC_HOSTNAME: auth.bunny-lab.io # (3)
KC_PROXY: edge KC_PROXY: edge # (4)
KC_HTTP_ENABLED: true KC_HTTP_ENABLED: true
KC_DB: postgres KC_DB: postgres
# KC_DB_URL: jdbc:postgresql://postgres/${POSTGRES_DB} #Official documentation says to use this, but its not really necessary. # KC_DB_URL: jdbc:postgresql://postgres/${POSTGRES_DB} # (5)
KC_DB_USERNAME: ${POSTGRES_USER} KC_DB_USERNAME: ${POSTGRES_USER}
KC_DB_PASSWORD: ${POSTGRES_PASSWORD} KC_DB_PASSWORD: ${POSTGRES_PASSWORD}
KC_DB_URL_HOST: postgres KC_DB_URL_HOST: postgres
@ -42,7 +42,7 @@
KC_DB_URL_DATABASE: ${POSTGRES_DB} KC_DB_URL_DATABASE: ${POSTGRES_DB}
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN} KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN}
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD} KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
# KC_HOSTNAME_DEBUG: true #If this is enabled, Navigate to https://auth.bunny-lab.io/realms/master/hostname-debug # KC_HOSTNAME_DEBUG: true # (6)
KC_HEALTH_ENABLED: true KC_HEALTH_ENABLED: true
ports: ports:
- 8080:8080 - 8080:8080