foodotfiles/docker/caddy/docker-compose.toml
2023-04-04 00:44:54 +03:00

21 lines
605 B
TOML

[services.caddy]
image = "slothcroissant/caddy-cloudflaredns"
container_name = "caddy"
restart = "unless-stopped"
user = "82:82"
ports = ["80:80", "443:443/tcp", "443:443/udp"]
networks = ["proxy"]
volumes = [
"/docker/caddy/data:/data",
"/docker/caddy/config:/config",
"/docker/nextcloud:/var/www/nextcloud",
"/var/www/korhonen.cc:/var/www/korhonen.cc",
"/var/www/wkd:/var/www/wkd",
"/var/www/index.korhonen.cc:/var/www/index.korhonen.cc",
"./Caddyfile:/etc/caddy/Caddyfile",
]
environment = ["CLOUDFLARE_EMAIL", "CLOUDFLARE_API_TOKEN", "ACME_AGREE=true"]
[networks.proxy]
external = true