diff options
author | Chocobozzz <me@florianbigard.com> | 2023-04-14 09:30:45 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-04-14 09:31:04 +0200 |
commit | 3f9f1bceb6195652bfa5a8553461d630f2bf293b (patch) | |
tree | a3d66d7e4183bfedd7c78c85f4a84e754a060574 /support/doc/docker.md | |
parent | 2a4c0d8bbe29178ae90e776bb9453f86e6d23bd9 (diff) | |
download | PeerTube-3f9f1bceb6195652bfa5a8553461d630f2bf293b.tar.gz PeerTube-3f9f1bceb6195652bfa5a8553461d630f2bf293b.tar.zst PeerTube-3f9f1bceb6195652bfa5a8553461d630f2bf293b.zip |
Breaking: docker requires compose v2
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r-- | support/doc/docker.md | 17 |
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 | ||
3 | This guide requires [docker](https://www.docker.com/community-edition) and | 3 | This 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 | ||
7 | docker 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 |
18 | The 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 |
16 | cd /your/peertube/directory | 22 | cd /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 |
67 | 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.::: | ||
61 | 68 | ||
62 | Install the template that the nginx container will use. | 69 | Install the template that the nginx container will use. |
63 | The container will generate the configuration by replacing `${WEBSERVER_HOST}` and `${PEERTUBE_HOST}` using your docker compose env file. | 70 | The 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 |
138 | Check the changelog (in particular the *IMPORTANT NOTES* section):** https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md | ||
139 | ::: | ||
131 | 140 | ||
132 | Pull the latest images: | 141 | Pull the latest images: |
133 | 142 | ||