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