aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/docker.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r--support/doc/docker.md16
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
22curl https://raw.githubusercontent.com/chocobozzz/PeerTube/develop/support/docker/production/docker-compose.yml > docker-compose.yml 22curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml
23``` 23```
24 24
25View 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) 25View 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
30curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/docker/production/.env > .env 30curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/docker/production/.env > .env
31``` 31```
32 32
33View the source of the file you're about to download: [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env) 33View 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
47In the downloaded example [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env), you must replace: 47In 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
53Other environment variables are used in 53Other 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
55intuited from usage. 55intuited 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
65mkdir -p docker-volume/nginx 65mkdir -p docker-volume/nginx
66curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/nginx/peertube > docker-volume/nginx/peertube 66curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/nginx/peertube > docker-volume/nginx/peertube
67``` 67```
68 68
69You need to manually generate the first SSL/TLS certificate using Let's Encrypt: 69You 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
124Pull the latest images: 124Pull the latest images:
125 125