From 5bf1ec79fcfa61a1001dbd6837206d89ba51fc08 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 3 Apr 2024 17:35:54 +0200 Subject: [PATCH] bugfix ereuse pilot: postgres was not persistent --- docker-compose__pilot-ereuse.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose__pilot-ereuse.yml b/docker-compose__pilot-ereuse.yml index 9f8ba01..4acddb5 100644 --- a/docker-compose__pilot-ereuse.yml +++ b/docker-compose__pilot-ereuse.yml @@ -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: