From 75dad13bf10cf7757f3acac53ecd14a92ba77b27 Mon Sep 17 00:00:00 2001 From: "Adrien W." Date: Sun, 4 Oct 2026 19:48:46 +0200 Subject: [PATCH] Fixed docker-compose.yml for CI --- docker-compose.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index f63b7bc..0219e96 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,16 +16,12 @@ services: ACME_EMAIL: ${ACME_EMAIL:?set ACME_EMAIL in .env} ports: - - "80:80" # required: the ACME HTTP challenge and the HTTPS redirect - - "443:443" - - "443:443/udp" # HTTP/3 + - ${LISTEN_IP:?0.0.0.0}:80:80 # required: the ACME HTTP challenge and the HTTPS redirect + - ${LISTEN_IP:?0.0.0.0}:443:443 + - ${LISTEN_IP:?0.0.0.0}:443:443/udp # HTTP/3 volumes: # Certificates live here. Without this volume Caddy re-issues on every # recreate and will hit the Let's Encrypt rate limit within a few restarts. - - caddy_data:/data - - caddy_config:/config - -volumes: - caddy_data: - caddy_config: + - ./caddy/data:/data + - ./caddy/config:/config \ No newline at end of file