mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-04-16 01:27:36 +00:00
adjust health envs
This commit is contained in:
parent
81bed17c95
commit
613ebd1555
@ -14,7 +14,7 @@ services:
|
|||||||
POSTGRES_USER: ${POSTGRES_USER}
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "pg_isready", "-q", "-d", "${KEYCLOAK_DB_NAME}", "-U", "${KEYCLOAK_DB_USER}" ]
|
test: [ "CMD", "pg_isready", "-q", "-d", "${POSTGRES_DB}", "-U", "${POSTGRES_USER}" ]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
@ -73,4 +73,4 @@ networks:
|
|||||||
keycloak-internal:
|
keycloak-internal:
|
||||||
internal: true
|
internal: true
|
||||||
#proxy:
|
#proxy:
|
||||||
# external: true
|
# external: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user