fix(data persistency): docker volume persistency issue (#1139)

because of the missing /data path, there was an issue wherein the data
would be lost after docker compose down
This commit is contained in:
akash-m-envsage
2023-05-12 08:43:12 +05:30
committed by GitHub
parent e9fa75d144
commit 01a96f2c8d

View File

@@ -12,7 +12,7 @@ services:
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD:?No db password set}
volumes:
- db-data:/var/lib/postgresql
- db-data:/var/lib/postgresql/data
volumes:
db-data: