From d67e78e4e0d2c13919b3b7aa5afe962762e33249 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 6 Apr 2026 22:25:24 +0200 Subject: [PATCH] =?UTF-8?q?remove=20bundled=20caddy=20=E2=80=94=20connect?= =?UTF-8?q?=20to=20existing=20caddy=20container?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1278980..b71a717 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,31 +1,18 @@ services: - caddy: - image: caddy:latest - restart: unless-stopped - ports: - - "80:80" - - "443:443" - volumes: - # Shared Caddyfile directory — both services mount the same path - - ./caddy:/etc/caddy - - caddy_data:/data - - caddy_config:/config - # NOTE: Your Caddyfile must contain `admin :2019` in the global block - # for KonCad to communicate with Caddy. See caddy/Caddyfile.example - koncad: build: . restart: unless-stopped ports: - "8080:80" volumes: - - ./caddy:/etc/caddy + # Mount your existing Caddy config directory + - /opt/caddy:/etc/caddy environment: CADDY_ADMIN_URL: http://caddy:2019 - depends_on: - - caddy + networks: + - caddy_net -volumes: - caddy_data: - caddy_config: +networks: + caddy_net: + external: true