Set webroot volume name

This commit is contained in:
Marco 2021-06-28 12:59:55 +02:00
parent 549b9d2527
commit 88a2f0e85f
2 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,6 @@ cp PATH-TO-KEY.PEM ./volumes/web/cert/key-no-password.pem
For using Let's Encrypt you can follow this guide LINK or use the this Bash script scripts/issue-certificate.sh. Make sure to adjust `mm.example.com` to match your domain configured in step 2. For using Let's Encrypt you can follow this guide LINK or use the this Bash script scripts/issue-certificate.sh. Make sure to adjust `mm.example.com` to match your domain configured in step 2.
``` ```
sudo docker volume create shared-webroot
bash scripts/issue-certificate.sh -d mm.example.com -o ${PWD}/certs bash scripts/issue-certificate.sh -d mm.example.com -o ${PWD}/certs
``` ```

View File

@ -31,6 +31,7 @@ services:
# Shared volume for Let's Encrypt certificate renewal with a webroot # Shared volume for Let's Encrypt certificate renewal with a webroot
volumes: volumes:
shared-webroot: shared-webroot:
name: shared-webroot
# This network name is being used for Let's Encrypt certificate renewal # This network name is being used for Let's Encrypt certificate renewal
networks: networks: