foodotfiles/docker/caddy/docker-compose.toml

21 lines
605 B
TOML
Raw Normal View History

2023-04-03 20:20:36 +00:00
[services.caddy]
image = "slothcroissant/caddy-cloudflaredns"
container_name = "caddy"
restart = "unless-stopped"
2023-04-03 21:44:54 +00:00
user = "82:82"
2023-04-03 20:20:36 +00:00
ports = ["80:80", "443:443/tcp", "443:443/udp"]
networks = ["proxy"]
volumes = [
"/docker/caddy/data:/data",
"/docker/caddy/config:/config",
2023-04-03 21:44:54 +00:00
"/docker/nextcloud:/var/www/nextcloud",
2023-04-03 20:20:36 +00:00
"/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