changed options
This commit is contained in:
parent
c15c34d837
commit
371f4ff75d
|
|
@ -4,7 +4,7 @@ services:
|
|||
|
||||
postgres:
|
||||
container_name: postgres_keycloak
|
||||
image: postgres:15.5-alpine3.19
|
||||
image: postgres:15.7-alpine3.19
|
||||
volumes:
|
||||
- postgres_volume:/var/lib/postgresql/data
|
||||
environment:
|
||||
|
|
@ -17,9 +17,13 @@ services:
|
|||
auth:
|
||||
container_name: keycloak
|
||||
image: quay.io/keycloak/keycloak:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- DB_DATABASE=${DB_HOST}
|
||||
- DB_USER=${POSTGRES_USER}
|
||||
- DB_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- KC_DB=postgres
|
||||
- KC_DB_URL_HOST=${DB_HOST}
|
||||
- KC_DB_URL_DATABASE=${POSTGRES_DB}
|
||||
|
|
@ -28,11 +32,15 @@ services:
|
|||
- KC_PROXY=edge
|
||||
- KC_HOSTNAME=${HOSTNAME}
|
||||
- KC_HOSTNAME_ADMIN=${HOSTNAME}
|
||||
- KC_TRANSACTION_XA_ENABLED=false
|
||||
# - KC_HOSTNAME_ADMIN_URL=${KEYCLOAK_URL}
|
||||
- KC_METRICS_ENABLED=true
|
||||
- KC_HEALTH_ENABLED=true
|
||||
- KC_HOSTNAME_STRICT=false
|
||||
- KC_HTTP_ENABLED=true
|
||||
- KC_HOSTNAME_STRICT_HTTPS=false
|
||||
# - PROXY_ADDRESS_FORWARDING=true
|
||||
#- KC_LOG_LEVEL=ALL
|
||||
- KC_LOG_LEVEL=INFO
|
||||
depends_on:
|
||||
- postgres
|
||||
command:
|
||||
|
|
|
|||
Loading…
Reference in New Issue