From 3f9f1bceb6195652bfa5a8553461d630f2bf293b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 14 Apr 2023 09:30:45 +0200 Subject: Breaking: docker requires compose v2 --- support/doc/docker.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'support') 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 @@ # Docker guide This guide requires [docker](https://www.docker.com/community-edition) and -[docker-compose](https://docs.docker.com/compose/install/). +[docker-compose V2](https://docs.docker.com/compose/install/). + +```shell +docker compose version # Must be > 2.x.x +``` ## Install @@ -10,7 +14,9 @@ name is definitive after your first PeerTube start. #### Go to your workdir -_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`. +:::info +The guide that follows assumes an empty workdir, but you can also clone the repository, use the master branch and `cd support/docker/production`. +::: ```shell cd /your/peertube/directory @@ -57,7 +63,8 @@ intuited from usage. #### Webserver -*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.* +::: info +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.::: Install the template that the nginx container will use. 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 ## Upgrade -**Check the changelog (in particular the *IMPORTANT NOTES* section):** https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md +::: warning +Check the changelog (in particular the *IMPORTANT NOTES* section):** https://github.com/Chocobozzz/PeerTube/blob/develop/CHANGELOG.md +::: Pull the latest images: -- cgit v1.2.3