use data volume

This commit is contained in:
michael welnick 2023-08-03 10:38:44 -07:00
parent d3300d7cc9
commit fc4d27d431

View File

@ -13,4 +13,6 @@ services:
env_file: .env env_file: .env
restart: always restart: always
volumes: volumes:
- ./pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
volumes:
pgdata: