local pgdata

This commit is contained in:
Dustin Decker 2023-01-26 16:47:01 -08:00
parent 7fc28b13a3
commit f75b7fc929

View file

@ -18,6 +18,7 @@ services:
restart: always
user: postgres
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_PASSWORD: postgres
POSTGRES_HOST_AUTH_METHOD: trust
healthcheck:
@ -25,3 +26,5 @@ services:
interval: 3s
timeout: 5s
retries: 5
volumes:
- ./postgres-db-data:/var/lib/postgresql/data/pgdata