Update quick-start.rst

This commit is contained in:
Alex 2021-07-28 12:48:59 -04:00 committed by GitHub
parent 9c105cce6a
commit cd0b397ce8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,18 +47,11 @@ Begin by installing the community version of Docker and docker-compose (there ar
``sudo apt-get update``
``sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release``
``sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release``
``curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg``
``echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null``
``echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null``
``sudo apt-get update``
@ -101,13 +94,7 @@ Moving forward we will refer to your base domain using **<your base domain>**. R
5. Generate SSL Certificates using certbot:
``certbot certonly --manual \
--preferred-challenges=dns \
--email your@email.com \
--server https://acme-v02.api.letsencrypt.org/directory \
--agree-tos \
--manual-public-ip-logging-ok \
-d “*.<your base domain>”``
``certbot certonly --manual --preferred-challenges=dns --email your@email.com --server https://acme-v02.api.letsencrypt.org/directory --agree-tos --manual-public-ip-logging-ok -d “*.<your base domain>”``
The above command (using your domain instead of <your base domain>), will prompt you to enter a TXT record in your DNS service provider. Do this, and wait a few seconds before clicking enter, or it may fail and you will have to run the command again.