Convert compose files to yaml

toml conversion stopped working, don't want to fix it
This commit is contained in:
Marko Korhonen 2024-11-04 10:27:12 +02:00
parent 9014f87dfd
commit 037967efd7
49 changed files with 904 additions and 773 deletions

View file

@ -1,29 +0,0 @@
[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

View file

@ -0,0 +1,35 @@
volumes:
data: {}
config: {}
wkd: {}
korhonen_cc: {}
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