From c9d9758b1aa742f67339aecb9282adfc53820795 Mon Sep 17 00:00:00 2001 From: Albert Armea Date: Sat, 21 Mar 2026 20:11:29 +0000 Subject: [PATCH] part 2 of template substitution fix --- docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index fb3a3ff..77e570d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,8 +39,11 @@ services: - "80:80" - "443:443" volumes: - - ./nginx/conf.d:/etc/nginx/conf.d:ro # static config fragments - - ./nginx/geoblock:/etc/nginx/geoblock:ro # rendered map snippet (written by watcher) + # NOTE: conf.d is intentionally NOT mounted from the host — the nginx + # Docker entrypoint renders templates/git.conf.template into conf.d at + # container start, substituting ${DOMAIN}. Mounting conf.d from the host + # would shadow that rendered output and break the virtual host. + - ./nginx/geoblock:/etc/nginx/geoblock:ro # rendered by geoblock_watcher - ./certs/live:/etc/letsencrypt/live:ro - ./certs/archive:/etc/letsencrypt/archive:ro - ./certs/options-ssl-nginx.conf:/etc/letsencrypt/options-ssl-nginx.conf:ro