bugfix ereuse pilot: postgres was not persistent

This commit is contained in:
pedro 2024-04-03 17:35:54 +02:00
parent 6bd9e22bfc
commit 5bf1ec79fc
1 changed files with 3 additions and 2 deletions

View File

@ -101,13 +101,14 @@ services:
- POSTGRES_PASSWORD=${DEVICEHUB_DB_PASSWORD}
- POSTGRES_USER=${DEVICEHUB_DB_USER}
- POSTGRES_DB=${DEVICEHUB_DB_DATABASE}
volumes:
- pg_data:/var/lib/postgresql/data
# DEBUG
#ports:
# - 5432:5432
# TODO persistence
#volumes:
# - pg_data:/var/lib/postgresql/data
volumes:
sharedsecret:
devicehub:
pg_data: