From 23cbb0f3189b4b7d712d304d9a19d8b565e1d166 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 10 Sep 2020 09:19:24 +0200 Subject: Fix docker guide --- support/doc/docker.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'support/doc') 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 ``` Needs to have file mode 600: ```shell -chmod 600 ./docker-volume/traefik/acme.json +chmod 600 ./docker-volume/traefik/acme.json ``` #### Get the latest Compose file ```shell -curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml +curl https://raw.githubusercontent.com/chocobozzz/PeerTube/master/support/docker/production/docker-compose.yml > docker-compose.yml ``` 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. #### Testing local Docker setup -To test locally your Docker setup, you must add your domain (``) in `/etc/hosts`: +To test locally your Docker setup, you must add your domain (``) in `/etc/hosts`: ``` 127.0.0.1 localhost mydomain.tld ``` @@ -115,7 +115,7 @@ peertube_1 | [example.com:443] 2019-11-16 04:26:06.083 info: User password: abc ### Obtaining Your Automatically Generated DKIM DNS TXT Record [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/). -Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain : +Run `cat ./docker-volume/opendkim/keys/*/*.txt` to display your DKIM DNS TXT Record containing the public key to configure to your domain : ```BASH user@s:~/peertube|master⚡ ⇒ cat ./docker-volume/opendkim/keys/*/*.txt @@ -124,13 +124,17 @@ peertube._domainkey.mydomain.tld. IN TXT ( "v=DKIM1; h=sha256; k=rsa; " "j5joTnYwat4387VEUyGUnZ0aZxCERi+ndXv2/wMJ0tizq+a9+EgqIb+7lkUc2XciQPNuTujM25GhrQBEKznvHyPA6fHsFheymOuB763QpkmnQQLCxyLygAY9mE/5RY+5Q6J9oDOQIDAQAB" ) ; ----- DKIM key peertube for mydomain.tld ``` +### Administrator password + +See the production guide ["Administrator" section](https://docs.joinpeertube.org/#/install-any-os?id=administrator) + ### What now? -See the production guide ["What now" section](/support/doc/production.md#what-now). +See the production guide ["What now" section](https://docs.joinpeertube.org/#/install-any-os?id=what-now). ### Upgrade -**Important:** Before upgrading, check you have all the `storage` fields in your [production.yaml file](/support/docker/production/config/production.yaml). +**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). Pull the latest images and rerun PeerTube: -- cgit v1.2.3