diff options
Diffstat (limited to 'support/doc')
-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 | ||