diff options
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r-- | support/doc/docker.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md index 36da94f55..e9315293f 100644 --- a/support/doc/docker.md +++ b/support/doc/docker.md | |||
@@ -63,8 +63,6 @@ intuited from usage. | |||
63 | Install the template that the nginx container will use. | 63 | Install the template that the nginx container will use. |
64 | The container will generate the configuration by replacing `${WEBSERVER_HOST}` and `${PEERTUBE_HOST}` using your docker compose env file. | 64 | The container will generate the configuration by replacing `${WEBSERVER_HOST}` and `${PEERTUBE_HOST}` using your docker compose env file. |
65 | 65 | ||
66 | It will also generate a TLS certificate at startup and schedule a renew | ||
67 | |||
68 | ```shell | 66 | ```shell |
69 | mkdir -p docker-volume/nginx | 67 | mkdir -p docker-volume/nginx |
70 | curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/nginx/peertube > docker-volume/nginx/peertube | 68 | curl https://raw.githubusercontent.com/Chocobozzz/PeerTube/develop/support/nginx/peertube > docker-volume/nginx/peertube |
@@ -77,7 +75,7 @@ mkdir -p docker-volume/certbot | |||
77 | docker run -it --rm --name certbot -p 80:80 -v "$(pwd)/docker-volume/certbot/conf:/etc/letsencrypt" certbot/certbot certonly --standalone | 75 | docker run -it --rm --name certbot -p 80:80 -v "$(pwd)/docker-volume/certbot/conf:/etc/letsencrypt" certbot/certbot certonly --standalone |
78 | ``` | 76 | ``` |
79 | 77 | ||
80 | The docker-compose will automatically renew this certificate and reload nginx. | 78 | A dedicated container in the docker-compose will automatically renew this certificate and reload nginx. |
81 | 79 | ||
82 | 80 | ||
83 | #### Test your setup | 81 | #### Test your setup |