|
@@ -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 [email protected] \
|
|
|
- --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 [email protected] --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.
|
|
|
|