From 88a2f0e85f0cb4681fb025f1e8dd9e01c50afab3 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 28 Jun 2021 12:59:55 +0200 Subject: [PATCH] Set webroot volume name --- README.md | 1 - docker-compose.nginx.yml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 957c352..30ad41f 100644 --- a/README.md +++ b/README.md @@ -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. ``` -sudo docker volume create shared-webroot bash scripts/issue-certificate.sh -d mm.example.com -o ${PWD}/certs ``` diff --git a/docker-compose.nginx.yml b/docker-compose.nginx.yml index cce0da1..a709d55 100644 --- a/docker-compose.nginx.yml +++ b/docker-compose.nginx.yml @@ -31,6 +31,7 @@ services: # Shared volume for Let's Encrypt certificate renewal with a webroot volumes: shared-webroot: + name: shared-webroot # This network name is being used for Let's Encrypt certificate renewal networks: