File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ services:
10
10
command :
11
11
- start
12
12
environment :
13
+ - SERVICE_FQDN_KEYCLOAK_8080
13
14
- TZ=${TIMEZONE:-UTC}
14
15
- KEYCLOAK_ADMIN=${SERVICE_USER_ADMIN}
15
16
- KEYCLOAK_ADMIN_PASSWORD=${SERVICE_PASSWORD_ADMIN}
@@ -18,10 +19,10 @@ services:
18
19
- KC_DB_PASSWORD=${SERVICE_PASSWORD_64_DATABASE}
19
20
- KC_DB_URL_PORT=5432
20
21
- KC_DB_URL=jdbc:postgresql://postgres/${POSTGRESQL_DATABASE:-keycloak}
21
- - KC_HOSTNAME=${SERVICE_FQDN_KEYCLOAK_8080 }
22
- - KC_HTTP_ENABLED=true
23
- - KC_HEALTH_ENABLED=true
24
- - KC_PROXY_HEADERS=xforwarded
22
+ - KC_HOSTNAME=${SERVICE_FQDN_KEYCLOAK }
23
+ - KC_HTTP_ENABLED=${KC_HTTP_ENABLED:- true}
24
+ - KC_HEALTH_ENABLED=${KC_HEALTH_ENABLED:- true}
25
+ - KC_PROXY_HEADERS=${KC_PROXY_HEADERS:- xforwarded}
25
26
volumes :
26
27
- keycloak-data:/opt/keycloak/data
27
28
depends_on :
@@ -39,7 +40,7 @@ services:
39
40
postgres :
40
41
image : postgres:16-alpine
41
42
volumes :
42
- - postgresql-data:/var/lib/postgresql/data
43
+ - keycloak- postgresql-data:/var/lib/postgresql/data
43
44
environment :
44
45
- POSTGRES_USER=${SERVICE_USER_DATABASE}
45
46
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_DATABASE}
Original file line number Diff line number Diff line change @@ -10,13 +10,14 @@ services:
10
10
command :
11
11
- start
12
12
environment :
13
+ - SERVICE_FQDN_KEYCLOAK_8080
13
14
- TZ=${TIMEZONE:-UTC}
14
15
- KEYCLOAK_ADMIN=${SERVICE_USER_ADMIN}
15
16
- KEYCLOAK_ADMIN_PASSWORD=${SERVICE_PASSWORD_ADMIN}
16
- - KC_HOSTNAME=${SERVICE_FQDN_KEYCLOAK_8080 }
17
- - KC_HTTP_ENABLED=true
18
- - KC_HEALTH_ENABLED=true
19
- - KC_PROXY_HEADERS=xforwarded
17
+ - KC_HOSTNAME=${SERVICE_FQDN_KEYCLOAK }
18
+ - KC_HTTP_ENABLED=${KC_HTTP_ENABLED:- true}
19
+ - KC_HEALTH_ENABLED=${KC_HEALTH_ENABLED:- true}
20
+ - KC_PROXY_HEADERS=${KC_PROXY_HEADERS:- xforwarded}
20
21
volumes :
21
22
- keycloak-data:/opt/keycloak/data
22
23
healthcheck :
You can’t perform that action at this time.
0 commit comments