Update PGDATA path in postgres service example

Changed the PGDATA environment variable in the example docker-compose file to use '/var/lib/postgresql/data/pgdata' for improved data directory structure.
This commit is contained in:
João Vitória Silva
2025-09-04 17:07:57 +01:00
parent 216b4f6ab0
commit f32a69c6b8

View File

@@ -44,7 +44,7 @@ services:
- POSTGRES_PASSWORD=changeme
- POSTGRES_DB=endurain
- POSTGRES_USER=endurain
- PGDATA=/var/lib/postgresql/data
- PGDATA=/var/lib/postgresql/data/pgdata
ports:
- "5432:5432"
healthcheck: