aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-08 11:51:55 +0100
committerChocobozzz <me@florianbigard.com>2021-01-08 11:51:55 +0100
commitb826b3398362affce6a1a5a589aa79938fef3021 (patch)
treeb4109ee6ca136ccc1f0b86bec277117958cfcc12
parenta461418320995943b2ac4066e8ef496946e70cd0 (diff)
downloadPeerTube-b826b3398362affce6a1a5a589aa79938fef3021.tar.gz
PeerTube-b826b3398362affce6a1a5a589aa79938fef3021.tar.zst
PeerTube-b826b3398362affce6a1a5a589aa79938fef3021.zip
Fix docker upgrade doc
-rw-r--r--support/doc/docker.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md
index 40fc1f5fa..d09688feb 100644
--- a/support/doc/docker.md
+++ b/support/doc/docker.md
@@ -123,11 +123,21 @@ See the production guide ["What now" section](https://docs.joinpeertube.org/inst
123 123
124**Important:** Before upgrading, check you have all the `storage` fields in your [production.yaml file](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/production.yaml). 124**Important:** Before upgrading, check you have all the `storage` fields in your [production.yaml file](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/production.yaml).
125 125
126Pull the latest images and rerun PeerTube: 126Pull the latest images:
127 127
128```shell 128```shell
129$ cd /your/peertube/directory 129$ cd /your/peertube/directory
130$ docker-compose pull 130$ docker-compose pull
131
132Stop, delete the containers and internal volumes (to invalidate static client files shared by `peertube` and `webserver` containers):
133
134```shell
135$ docker-compose down -v
136```
137
138Rerun PeerTube:
139
140```shell
131$ docker-compose up -d 141$ docker-compose up -d
132``` 142```
133 143