diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-25 14:50:39 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-25 14:50:39 +0100 |
commit | c95954261df6580d1c1a7babc563a5a9cace96dd (patch) | |
tree | 58ae20971d9dd07e6edb631d2f41f22bfdaa2ebb /support/doc/docker.md | |
parent | d91be8acd79b828223afce07b9bad7a8f7140e17 (diff) | |
download | PeerTube-c95954261df6580d1c1a7babc563a5a9cace96dd.tar.gz PeerTube-c95954261df6580d1c1a7babc563a5a9cace96dd.tar.zst PeerTube-c95954261df6580d1c1a7babc563a5a9cace96dd.zip |
Use master branch for docker install documentation
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r-- | support/doc/docker.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md index dd84937f3..036ea19d4 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md | |||
@@ -19,18 +19,18 @@ cd /your/peertube/directory | |||
19 | #### Get the latest Compose file | 19 | #### Get the latest Compose file |
20 | 20 | ||
21 | ```shell | 21 | ```shell |
22 | curl https://raw.githubusercontent.com/chocobozzz/PeerTube/develop/support/docker/production/docker-compose.yml > docker-compose.yml | 22 | curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml |
23 | ``` | 23 | ``` |
24 | 24 | ||
25 | View the source of the file you're about to download: [docker-compose.yml](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/docker-compose.yml) | 25 | View the source of the file you're about to download: [docker-compose.yml](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/docker-compose.yml) |
26 | 26 | ||
27 | #### Get the latest env_file | 27 | #### Get the latest env_file |
28 | 28 | ||
29 | ```shell | 29 | ```shell |
30 | curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/docker/production/.env > .env | 30 | curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/docker/production/.env > .env |
31 | ``` | 31 | ``` |
32 | 32 | ||
33 | View the source of the file you're about to download: [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env) | 33 | View the source of the file you're about to download: [.env](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/.env) |
34 | 34 | ||
35 | #### Tweak the `docker-compose.yml` file there according to your needs | 35 | #### Tweak the `docker-compose.yml` file there according to your needs |
36 | 36 | ||
@@ -44,14 +44,14 @@ $EDITOR ./docker-compose.yml | |||
44 | $EDITOR ./.env | 44 | $EDITOR ./.env |
45 | ``` | 45 | ``` |
46 | 46 | ||
47 | In the downloaded example [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env), you must replace: | 47 | In the downloaded example [.env](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/.env), you must replace: |
48 | - `<MY POSTGRES USERNAME>` | 48 | - `<MY POSTGRES USERNAME>` |
49 | - `<MY POSTGRES PASSWORD>` | 49 | - `<MY POSTGRES PASSWORD>` |
50 | - `<MY DOMAIN>` without 'https://' | 50 | - `<MY DOMAIN>` without 'https://' |
51 | - `<MY EMAIL ADDRESS>` | 51 | - `<MY EMAIL ADDRESS>` |
52 | 52 | ||
53 | Other environment variables are used in | 53 | Other environment variables are used in |
54 | [/support/docker/production/config/custom-environment-variables.yaml](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/custom-environment-variables.yaml) and can be | 54 | [/support/docker/production/config/custom-environment-variables.yaml](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/config/custom-environment-variables.yaml) and can be |
55 | intuited from usage. | 55 | intuited from usage. |
56 | 56 | ||
57 | #### Webserver | 57 | #### Webserver |
@@ -63,7 +63,7 @@ The container will generate the configuration by replacing `${WEBSERVER_HOST}` a | |||
63 | 63 | ||
64 | ```shell | 64 | ```shell |
65 | mkdir -p docker-volume/nginx | 65 | mkdir -p docker-volume/nginx |
66 | curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/nginx/peertube > docker-volume/nginx/peertube | 66 | curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/nginx/peertube > docker-volume/nginx/peertube |
67 | ``` | 67 | ``` |
68 | 68 | ||
69 | You need to manually generate the first SSL/TLS certificate using Let's Encrypt: | 69 | You need to manually generate the first SSL/TLS certificate using Let's Encrypt: |
@@ -119,7 +119,7 @@ See the production guide ["What now" section](https://docs.joinpeertube.org/inst | |||
119 | 119 | ||
120 | ## Upgrade | 120 | ## Upgrade |
121 | 121 | ||
122 | **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). | 122 | **Important:** Before upgrading, check you have all the `storage` fields in your [production.yaml file](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/config/production.yaml). |
123 | 123 | ||
124 | Pull the latest images: | 124 | Pull the latest images: |
125 | 125 | ||