diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/docker.md | 12 |
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 | ||
126 | Pull the latest images and rerun PeerTube: | 126 | Pull 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 | |||
132 | Stop, 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 | |||
138 | Rerun PeerTube: | ||
139 | |||
140 | ```shell | ||
131 | $ docker-compose up -d | 141 | $ docker-compose up -d |
132 | ``` | 142 | ``` |
133 | 143 | ||