This repository has been archived on 2025-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
Files
archived-docker-compose/caddy-reverse-proxy/docker-compose-dns.yaml
2025-06-05 13:56:57 +05:30

22 lines
593 B
YAML

version: "3.8"
services:
caddy-reverse-proxy:
image: "slothcroissant/caddy-cloudflaredns:2.10.0"
container_name: "caddy-reverse-proxy"
cap_add:
- NET_ADMIN
environment:
- "CLOUDFLARE_EMAIL=${CLOUDFLARE_EMAIL}"
- "CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}"
- "ACME_AGREE=true"
volumes:
- "${CADDYFILE_PATH}:/etc/caddy/Caddyfile"
- "${CONF_PATH}:/config"
- "${DATA_PATH}:/data"
- "${LOG_PATH}:/var/log/caddy"
- "${SITE_PATH}:/srv"
ports:
- "${HTTP}:80"
- "${HTTPS}:443"
restart: "unless-stopped"