aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-04-14 09:30:45 +0200
committerChocobozzz <me@florianbigard.com>2023-04-14 09:31:04 +0200
commit3f9f1bceb6195652bfa5a8553461d630f2bf293b (patch)
treea3d66d7e4183bfedd7c78c85f4a84e754a060574
parent2a4c0d8bbe29178ae90e776bb9453f86e6d23bd9 (diff)
downloadPeerTube-3f9f1bceb6195652bfa5a8553461d630f2bf293b.tar.gz
PeerTube-3f9f1bceb6195652bfa5a8553461d630f2bf293b.tar.zst
PeerTube-3f9f1bceb6195652bfa5a8553461d630f2bf293b.zip
Breaking: docker requires compose v2
-rw-r--r--support/doc/docker.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md
index 5d950d477..78a8d2d32 100644
--- a/support/doc/docker.md
+++ b/support/doc/docker.md
@@ -1,7 +1,11 @@
1# Docker guide 1# Docker guide
2 2
3This guide requires [docker](https://www.docker.com/community-edition) and 3This guide requires [docker](https://www.docker.com/community-edition) and
4[docker-compose](https://docs.docker.com/compose/install/). 4[docker-compose V2](https://docs.docker.com/compose/install/).
5
6```shell
7docker compose version # Must be > 2.x.x
8```
5 9
6## Install 10## Install
7 11
@@ -10,7 +14,9 @@ name is definitive after your first PeerTube start.
10 14
11#### Go to your workdir 15#### Go to your workdir
12 16
13_note_: the guide that follows assumes an empty workdir, but you can also clone the repository, use the master branch and `cd support/docker/production`. 17:::info
18The guide that follows assumes an empty workdir, but you can also clone the repository, use the master branch and `cd support/docker/production`.
19:::
14 20
15```shell 21```shell
16cd /your/peertube/directory 22cd /your/peertube/directory
@@ -57,7 +63,8 @@ intuited from usage.
57 63
58#### Webserver 64#### Webserver
59 65
60*The docker compose file includes a configured web server. You can skip this part and comment the appropriate section in the docker compose if you use another webserver/proxy.* 66::: info
67The docker compose file includes a configured web server. You can skip this part and comment the appropriate section in the docker compose if you use another webserver/proxy.:::
61 68
62Install the template that the nginx container will use. 69Install the template that the nginx container will use.
63The container will generate the configuration by replacing `${WEBSERVER_HOST}` and `${PEERTUBE_HOST}` using your docker compose env file. 70The container will generate the configuration by replacing `${WEBSERVER_HOST}` and `${PEERTUBE_HOST}` using your docker compose env file.
@@ -127,7 +134,9 @@ See the production guide ["What now" section](https://docs.joinpeertube.org/inst
127 134
128## Upgrade 135## Upgrade
129 136
130**Check the changelog (in particular the *IMPORTANT NOTES* section):** https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md 137::: warning
138Check the changelog (in particular the *IMPORTANT NOTES* section):** https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md
139:::
131 140
132Pull the latest images: 141Pull the latest images:
133 142