diff --git a/roles/sys-svc-rdbms/templates/services/postgres.yml.j2 b/roles/sys-svc-rdbms/templates/services/postgres.yml.j2 index f12390a2..d2db44ae 100644 --- a/roles/sys-svc-rdbms/templates/services/postgres.yml.j2 +++ b/roles/sys-svc-rdbms/templates/services/postgres.yml.j2 @@ -8,7 +8,7 @@ - {{ database_env }} restart: {{ DOCKER_RESTART_POLICY }} healthcheck: - test: ["CMD-SHELL", "pg_isready -U {{ database_user }}"] + test: ["CMD-SHELL", "pg_isready -U {{ database_username }}"] interval: 10s timeout: 5s retries: 6