From c9048aa94b452f68da4beb3dc4e84ab7af951d15 Mon Sep 17 00:00:00 2001 From: wheelz Date: Fri, 5 Jun 2026 20:16:34 +0000 Subject: [PATCH] fix: use Postgres PGDATA subdirectory --- proxcenter-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxcenter-compose.yml b/proxcenter-compose.yml index ae223ee..8a06ca6 100644 --- a/proxcenter-compose.yml +++ b/proxcenter-compose.yml @@ -99,6 +99,9 @@ services: - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_DB=${POSTGRES_DB:-proxcenter} - POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C + # Use a child directory under the NFS bind mount so Postgres does not + # need to chmod the NFS mount root during initdb. + - PGDATA=/var/lib/postgresql/data/pgdata volumes: - ${DockerData}/proxcenter/postgres_data:/var/lib/postgresql/data # Port is intentionally not published. Postgres is reachable only