aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/docker.md
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-09-10 09:19:24 +0200
committerChocobozzz <me@florianbigard.com>2020-09-10 09:19:24 +0200
commit23cbb0f3189b4b7d712d304d9a19d8b565e1d166 (patch)
tree0005a526094d3d73f9c791c8d4dce4f749dfd411 /support/doc/docker.md
parentfb0f7f82e59c7138b5fa9d801296609b1c0cd971 (diff)
downloadPeerTube-23cbb0f3189b4b7d712d304d9a19d8b565e1d166.tar.gz
PeerTube-23cbb0f3189b4b7d712d304d9a19d8b565e1d166.tar.zst
PeerTube-23cbb0f3189b4b7d712d304d9a19d8b565e1d166.zip
Fix docker guide
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r--support/doc/docker.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md
index c1173972a..fc89e4c4c 100644
--- a/support/doc/docker.md
+++ b/support/doc/docker.md
@@ -40,13 +40,13 @@ touch ./docker-volume/traefik/acme.json
40``` 40```
41Needs to have file mode 600: 41Needs to have file mode 600:
42```shell 42```shell
43chmod 600 ./docker-volume/traefik/acme.json 43chmod 600 ./docker-volume/traefik/acme.json
44``` 44```
45 45
46#### Get the latest Compose file 46#### Get the latest Compose file
47 47
48```shell 48```shell
49curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml 49curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml
50``` 50```
51 51
52View 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) 52View 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)
@@ -93,7 +93,7 @@ intuited from usage.
93 93
94#### Testing local Docker setup 94#### Testing local Docker setup
95 95
96To test locally your Docker setup, you must add your domain (`<MY DOMAIN>`) in `/etc/hosts`: 96To test locally your Docker setup, you must add your domain (`<MY DOMAIN>`) in `/etc/hosts`:
97``` 97```
98127.0.0.1 localhost mydomain.tld 98127.0.0.1 localhost mydomain.tld
99``` 99```
@@ -115,7 +115,7 @@ peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abc
115 115
116### Obtaining Your Automatically Generated DKIM DNS TXT Record 116### Obtaining Your Automatically Generated DKIM DNS TXT Record
117[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/). 117[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/).
118Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain : 118Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain :
119```BASH 119```BASH
120user@s:~/peertube|master⚡ ⇒ cat ./docker-volume/opendkim/keys/*/*.txt 120user@s:~/peertube|master⚡ ⇒ cat ./docker-volume/opendkim/keys/*/*.txt
121 121
@@ -124,13 +124,17 @@ peertube._domainkey.mydomain.tld. IN TXT ( "v=DKIM1; h=sha256; k=rsa; "
124 "j5joTnYwat4387VEUyGUnZ0aZxCERi+ndXv2/wMJ0tizq+a9+EgqIb+7lkUc2XciQPNuTujM25GhrQBEKznvHyPA6fHsFheymOuB763QpkmnQQLCxyLygAY9mE/5RY+5Q6J9oDOQIDAQAB" ) ; ----- DKIM key peertube for mydomain.tld 124 "j5joTnYwat4387VEUyGUnZ0aZxCERi+ndXv2/wMJ0tizq+a9+EgqIb+7lkUc2XciQPNuTujM25GhrQBEKznvHyPA6fHsFheymOuB763QpkmnQQLCxyLygAY9mE/5RY+5Q6J9oDOQIDAQAB" ) ; ----- DKIM key peertube for mydomain.tld
125``` 125```
126 126
127### Administrator password
128
129See the production guide ["Administrator" section](https://docs.joinpeertube.org/#/install-any-os?id=administrator)
130
127### What now? 131### What now?
128 132
129See the production guide ["What now" section](/support/doc/production.md#what-now). 133See the production guide ["What now" section](https://docs.joinpeertube.org/#/install-any-os?id=what-now).
130 134
131### Upgrade 135### Upgrade
132 136
133**Important:** Before upgrading, check you have all the `storage` fields in your [production.yaml file](/support/docker/production/config/production.yaml). 137**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).
134 138
135Pull the latest images and rerun PeerTube: 139Pull the latest images and rerun PeerTube:
136 140