Baikal CalDAV/CardDAV Server mit Caddy-TLS-Proxy (100 Jahre Zertifikat)

- docker-compose.yml: baikal (ckulka/baikal:nginx) + caddy Reverse Proxy
- Persistente Daten unter ./daten (config, data, caddy_certs)
- Caddy-Image mit Entrypoint: erstellt beim Start automatisch ein
  selbstsigniertes 100-Jahres-Zertifikat, falls noch keins vorhanden ist
- README mit Setup-, Backup- und Zertifikats-Anleitung
This commit is contained in:
ARIA
2026-07-20 20:16:23 +00:00
commit 0b6acbb874
10 changed files with 216 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# Caddyfile fuer den Baikal CalDAV/CardDAV Server
#
# auto_https wird global abgeschaltet, weil wir selbst ein Zertifikat
# bereitstellen (siehe caddy/entrypoint.sh) statt Caddy per ACME/Let's
# Encrypt bzw. seiner internen CA (kurzlebige Zertifikate) machen zu lassen.
{
auto_https off
}
:443 {
tls /certs/baikal.crt /certs/baikal.key
reverse_proxy baikal:80
encode gzip
log {
output stdout
}
}
:80 {
# Reiner HTTP->HTTPS Redirect
redir https://{host}{uri} permanent
}