Revert "fix: use Postgres PGDATA subdirectory"

This reverts commit c9048aa94b.
This commit is contained in:
2026-06-05 20:39:44 +00:00
parent c9048aa94b
commit 8c1ae2db34

View File

@@ -99,9 +99,6 @@ services:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB:-proxcenter} - POSTGRES_DB=${POSTGRES_DB:-proxcenter}
- POSTGRES_INITDB_ARGS=--encoding=UTF8 --locale=C - 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: volumes:
- ${DockerData}/proxcenter/postgres_data:/var/lib/postgresql/data - ${DockerData}/proxcenter/postgres_data:/var/lib/postgresql/data
# Port is intentionally not published. Postgres is reachable only # Port is intentionally not published. Postgres is reachable only