mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-01 03:20:29 +00:00
30 lines
674 B
TOML
30 lines
674 B
TOML
[volumes]
|
|
data = {}
|
|
config = {}
|
|
wkd = {}
|
|
korhonen_cc = {}
|
|
|
|
[volumes.nextcloud_config]
|
|
external = true
|
|
|
|
[services.caddy]
|
|
image = "git.korhonen.cc/functionalhacker/caddy"
|
|
container_name = "caddy"
|
|
restart = "unless-stopped"
|
|
ports = ["80:80", "443:443/tcp", "443:443/udp"]
|
|
networks = ["proxy"]
|
|
volumes = [
|
|
"./Caddyfile:/etc/caddy/Caddyfile",
|
|
"data:/data",
|
|
"config:/config",
|
|
"wkd:/var/www/wkd",
|
|
"korhonen_cc:/var/www/korhonen.cc",
|
|
"nextcloud_config:/var/www/nextcloud",
|
|
"/var/www/index.korhonen.cc:/var/www/index.korhonen.cc",
|
|
]
|
|
environment = ["CLOUDFLARE_EMAIL", "CLOUDFLARE_API_TOKEN", "ACME_AGREE=true"]
|
|
cap_add = ["NET_ADMIN"]
|
|
|
|
[networks.proxy]
|
|
external = true
|