use data volume

This commit is contained in:
michael welnick
2023-08-03 10:38:44 -07:00
parent d3300d7cc9
commit fc4d27d431
+3 -1
View File
@@ -13,4 +13,6 @@ services:
env_file: .env
restart: always
volumes:
- ./pgdata:/var/lib/postgresql/data
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: