diff options
author | Chocobozzz <me@florianbigard.com> | 2020-09-10 09:19:24 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-09-10 09:19:24 +0200 |
commit | 23cbb0f3189b4b7d712d304d9a19d8b565e1d166 (patch) | |
tree | 0005a526094d3d73f9c791c8d4dce4f749dfd411 | |
parent | fb0f7f82e59c7138b5fa9d801296609b1c0cd971 (diff) | |
download | PeerTube-23cbb0f3189b4b7d712d304d9a19d8b565e1d166.tar.gz PeerTube-23cbb0f3189b4b7d712d304d9a19d8b565e1d166.tar.zst PeerTube-23cbb0f3189b4b7d712d304d9a19d8b565e1d166.zip |
Fix docker guide
-rw-r--r-- | support/doc/docker.md | 16 |
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 | ``` |
41 | Needs to have file mode 600: | 41 | Needs to have file mode 600: |
42 | ```shell | 42 | ```shell |
43 | chmod 600 ./docker-volume/traefik/acme.json | 43 | chmod 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 |
49 | curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml | 49 | curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml |
50 | ``` | 50 | ``` |
51 | 51 | ||
52 | 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) | 52 | 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) |
@@ -93,7 +93,7 @@ intuited from usage. | |||
93 | 93 | ||
94 | #### Testing local Docker setup | 94 | #### Testing local Docker setup |
95 | 95 | ||
96 | To test locally your Docker setup, you must add your domain (`<MY DOMAIN>`) in `/etc/hosts`: | 96 | To test locally your Docker setup, you must add your domain (`<MY DOMAIN>`) in `/etc/hosts`: |
97 | ``` | 97 | ``` |
98 | 127.0.0.1 localhost mydomain.tld | 98 | 127.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/). |
118 | Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain : | 118 | Run `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 |
120 | user@s:~/peertube|master⚡ ⇒ cat ./docker-volume/opendkim/keys/*/*.txt | 120 | user@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 | |||
129 | See the production guide ["Administrator" section](https://docs.joinpeertube.org/#/install-any-os?id=administrator) | ||
130 | |||
127 | ### What now? | 131 | ### What now? |
128 | 132 | ||
129 | See the production guide ["What now" section](/support/doc/production.md#what-now). | 133 | See 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 | ||
135 | Pull the latest images and rerun PeerTube: | 139 | Pull the latest images and rerun PeerTube: |
136 | 140 | ||