Skip to content

Commit 9a16166

Browse files
Merge pull request #153 from 3DBAG/healthcheck-fix
PGDATA in env
2 parents 4bbcdd8 + e53bb98 commit 9a16166

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ services:
2828
- pg_db=$BAG3D_PG_DATABASE
2929
command: ["-c", "shared_buffers=8GB", "-c", "max_connections=200", "-c", "work_mem=30MB", "-c", "logging_collector=on", "-c", "log_statement=all", "-c", "log_directory=/var/log/postgresql/"]
3030
container_name: bag3d-data-postgresql-${BAG3D_DOCKER_IMAGE_TAG}
31+
environment:
32+
PGDATA: /var/lib/postgresql/data/pgdata
3133
healthcheck:
3234
test: ["CMD-SHELL", "pg_isready -d ${BAG3D_PG_DATABASE} -U {BAG3D_PG_USER}"]
3335
interval: 3s

0 commit comments

Comments
 (0)