fix(data persistency): docker volume persistency issue

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 2023-05-12 03:30:53 +05:30
parent e9fa75d144
commit bea7f3386b

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: