mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-12-30 02:38:29 +01:00
adjust health envs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user