Merge pull request #9842 from volodymyr-babak/edge-docker-upgdate-fix
Fixed edge upgrade script - added volumes section
This commit is contained in:
commit
cd3477787b
@ -70,10 +70,22 @@ Apply a similar update for the PostgreSQL service. Find the section:
|
|||||||
And replace it with:
|
And replace it with:
|
||||||
```text
|
```text
|
||||||
volumes:
|
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
|
##### Backup Database
|
||||||
Make a copy of the database volume before upgrading:
|
Make a copy of the database volume before upgrading:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user