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

View file

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