From bfc85b61c7096bf750d245a857fa8d33fc5b0946 Mon Sep 17 00:00:00 2001 From: Rodolfo Berrios <20590102+rodber@users.noreply.github.com> Date: Mon, 17 Oct 2022 14:18:16 -0300 Subject: [PATCH] it works!! --- Makefile | 1 - default.yml | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eeb567f..e7f1a30 100644 --- a/Makefile +++ b/Makefile @@ -138,7 +138,6 @@ certbot: --webroot \ --webroot-path=/data/letsencrypt \ -d ${HOSTNAME} \ - --dry-run \ && cp ${PWD}/letsencrypt/certs/live/${HOSTNAME}/fullchain.pem ${PWD}/https/cert.pem \ && cp ${PWD}/letsencrypt/certs/live/${HOSTNAME}/privkey.pem ${PWD}/https/key.pem diff --git a/default.yml b/default.yml index 40819d2..1c70a47 100644 --- a/default.yml +++ b/default.yml @@ -40,6 +40,9 @@ services: volumes: - storage:/var/www/html/images/ - assets:/var/www/html/_assets/ + - type: bind + source: ${PWD}/letsencrypt/data/.well-known + target: /var/www/html/.well-known - type: bind source: ${PWD}/https/${HTTPS_CERT} target: /etc/ssl/certs/cert.pem