From f4f693da540a2d04733d0eb3bb8ab8e75d661648 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Wed, 13 Dec 2023 21:17:23 +0200 Subject: [PATCH] Fixed edge upgrade script - added text to modify docker-compose and add volumes section --- .../upgrade/docker/upgrade_preparing.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/application/src/main/data/json/edge/instructions/upgrade/docker/upgrade_preparing.md b/application/src/main/data/json/edge/instructions/upgrade/docker/upgrade_preparing.md index bb3ce268b8..a0536f113a 100644 --- a/application/src/main/data/json/edge/instructions/upgrade/docker/upgrade_preparing.md +++ b/application/src/main/data/json/edge/instructions/upgrade/docker/upgrade_preparing.md @@ -70,10 +70,22 @@ Apply a similar update for the PostgreSQL service. Find the section: And replace it with: ```text volumes: - - tb-edge-postgres-data/:/var/lib/postgresql/data + - tb-edge-postgres-data:/var/lib/postgresql/data ... ``` +Finally, please add next volumes section at the end of the file: +```text +... +volumes: + tb-edge-data: + name: tb-edge-data + tb-edge-logs: + name: tb-edge-logs + tb-edge-postgres-data: + name: tb-edge-postgres-data +``` + ##### Backup Database Make a copy of the database volume before upgrading: