From c67738ba716abecd5e19fa7f6529189560d74b24 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Wed, 15 Nov 2023 05:51:10 -0800 Subject: [PATCH] Add Caddy Docker compose file --- caddy.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 caddy.yaml diff --git a/caddy.yaml b/caddy.yaml new file mode 100644 index 0000000..fd38487 --- /dev/null +++ b/caddy.yaml @@ -0,0 +1,21 @@ +version: "3" +networks: + cloudflare-tunnel: + external: true +services: + caddy: + image: caddy:latest + container_name: caddy + restart: unless-stopped + ports: + - "80:80" + - "443:443" + - "443:443/udp" + volumes: + - /caddy/data:/data + - /caddy/config:/config + - /Caddyfile:/etc/caddy/Caddyfile + - :/srv + networks: + cloudflare-tunnel: + ipv4_address: \ No newline at end of file