From 591263a9489c1f519db4d63b6558a72ec4fb8695 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 28 Jan 2021 00:42:12 +0200
Subject: [PATCH] Access acme challenge directory on the host.

Needed for the default (fallback) acme challenge access (with the
renew-certs playbooks from the homelab repo).
---
 docker-compose.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/docker-compose.yml b/docker-compose.yml
index f99f996..0d815fd 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -15,6 +15,7 @@ services:
       - '443:443'
     restart: always
     volumes:
+      - '/var/www/www.shore.co.il/.well-known/acme-challenge:/var/www/www.shore.co.il/.well-known/acme-challenge:ro'
       - '/var/ssl/site.key:/var/ssl/site.key:ro'
       - '/var/ssl/site.crt:/var/ssl/site.crt:ro'
       - '/var/ssl/dhparams:/var/ssl/dhparams:ro'
-- 
GitLab