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