From f896404fc2edc15134a2822890cf7887c8f22920 Mon Sep 17 00:00:00 2001 From: "azykov@mail.ru" Date: Sun, 12 Apr 2026 09:13:07 +0300 Subject: [PATCH] caddy --- caddy/compose.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 caddy/compose.yaml diff --git a/caddy/compose.yaml b/caddy/compose.yaml new file mode 100644 index 0000000..ac71009 --- /dev/null +++ b/caddy/compose.yaml @@ -0,0 +1,21 @@ +services: + caddy: + image: caddy:latest + container_name: caddy + restart: always + ports: + - 80:80 + # - 443:443 # 443 is for haproxy + volumes: + - /docker/data/caddy/etc:/etc/caddy + - /docker/data/caddy/webroot:/webroot + - /docker/data/caddy/log:/var/log/caddy + - /docker/data/caddy/data:/data + - /docker/data/caddy/config:/config + networks: + - default + - haproxy_default +networks: + default: {} + haproxy_default: + external: true