From 5984d53e41b724195bad996a892b91009032ffc7 Mon Sep 17 00:00:00 2001 From: Kevin Date: Mon, 27 Nov 2023 16:32:16 +0800 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index dbd131e..b9afc84 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: - POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology,postgis_raster,pgrouting restart: on-failure healthcheck: - test: "PGPASSWORD=docker pg_isready -h 127.0.0.1 -U docker -d gis" + test: "PGPASSWORD=$${POSTGRES_PASS} pg_isready -h 127.0.0.1 -U docker -d gis" dbbackups: image: kartoza/pg-backup:$POSTGRES_MAJOR_VERSION-$POSTGIS_MAJOR_VERSION.${POSTGIS_MINOR_RELEASE}