mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-01 03:20:29 +00:00
21 lines
605 B
TOML
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
|