aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-30 14:39:52 +0100
committerChocobozzz <me@florianbigard.com>2020-12-30 14:39:52 +0100
commit83d4aba676ce376fe68ff17e7d92b037b108c2f1 (patch)
tree0a4e6c5da9165bb1b467ec50114b12490039c47f /support/doc
parentcc49be3e3547703d00ef7363d664221a39334ca3 (diff)
downloadPeerTube-83d4aba676ce376fe68ff17e7d92b037b108c2f1.tar.gz
PeerTube-83d4aba676ce376fe68ff17e7d92b037b108c2f1.tar.zst
PeerTube-83d4aba676ce376fe68ff17e7d92b037b108c2f1.zip
Use develop doc for docker
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/docker.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md
index cf3a0db0b..6f61c38d0 100644
--- a/support/doc/docker.md
+++ b/support/doc/docker.md
@@ -7,7 +7,7 @@ This guide requires [docker](https://www.docker.com/community-edition) and
7 7
8### Install 8### Install
9 9
10**PeerTube does not support webserver host change**. Keep in mind your domain 10**PeerTube does not support webserver host change**. Keep in mind your domain
11name is definitive after your first PeerTube start. 11name is definitive after your first PeerTube start.
12 12
13#### Go to your workdir 13#### Go to your workdir
@@ -21,18 +21,18 @@ cd /your/peertube/directory
21#### Get the latest Compose file 21#### Get the latest Compose file
22 22
23```shell 23```shell
24curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml 24curl https://raw.githubusercontent.com/chocobozzz/PeerTube/develop/support/docker/production/docker-compose.yml > docker-compose.yml
25``` 25```
26 26
27View 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) 27View 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)
28 28
29#### Get the latest env_file 29#### Get the latest env_file
30 30
31```shell 31```shell
32curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/master/support/docker/production/.env > .env 32curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/docker/production/.env > .env
33``` 33```
34 34
35View the source of the file you're about to download: [.env](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/.env) 35View the source of the file you're about to download: [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env)
36 36
37#### Tweak the `docker-compose.yml` file there according to your needs 37#### Tweak the `docker-compose.yml` file there according to your needs
38 38
@@ -46,14 +46,14 @@ $EDITOR ./docker-compose.yml
46$EDITOR ./.env 46$EDITOR ./.env
47``` 47```
48 48
49In the downloaded example [.env](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/.env), you must replace: 49In the downloaded example [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env), you must replace:
50- `<MY POSTGRES USERNAME>` 50- `<MY POSTGRES USERNAME>`
51- `<MY POSTGRES PASSWORD>` 51- `<MY POSTGRES PASSWORD>`
52- `<MY DOMAIN>` without 'https://' 52- `<MY DOMAIN>` without 'https://'
53- `<MY EMAIL ADDRESS>` 53- `<MY EMAIL ADDRESS>`
54 54
55Other environment variables are used in 55Other environment variables are used in
56[/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 56[/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
57intuited from usage. 57intuited from usage.
58 58
59#### Testing local Docker setup 59#### Testing local Docker setup
@@ -84,7 +84,7 @@ peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abc
84 84
85[DKIM](https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail) signature sending and RSA keys generation are enabled by the default Postfix image `mwader/postfix-relay` with [OpenDKIM](http://www.opendkim.org/). 85[DKIM](https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail) signature sending and RSA keys generation are enabled by the default Postfix image `mwader/postfix-relay` with [OpenDKIM](http://www.opendkim.org/).
86 86
87Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain : 87Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain :
88 88
89```bash 89```bash
90$ cat ./docker-volume/opendkim/keys/*/*.txt 90$ cat ./docker-volume/opendkim/keys/*/*.txt
@@ -124,4 +124,4 @@ $ docker build . -f ./support/docker/production/Dockerfile.buster
124 124
125## Development 125## Development
126 126
127We don't have a Docker image for development. See [the CONTRIBUTING guide](https://github.com/Chocobozzz/PeerTube/blob/master/.github/CONTRIBUTING.md#develop) for more information on how you can hack PeerTube! 127We don't have a Docker image for development. See [the CONTRIBUTING guide](https://github.com/Chocobozzz/PeerTube/blob/develop/.github/CONTRIBUTING.md#develop) for more information on how you can hack PeerTube!