remove bundled caddy — connect to existing caddy container

This commit is contained in:
Daniel committed 2026-04-06 22:25:24 +02:00
1 parent a76116608d
commit d67e78e4e0
1 file changed
+7 -20
+7 -20
View File
@@ -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