update caddy config

This commit is contained in:
Simon Rieger 2025-01-21 23:42:13 +01:00
parent 51a854d745
commit 88f7bda049

View file

@ -12,28 +12,27 @@ services:
# - "8080:8080"
environment:
- TZ=Europe/Berlin
- VIRTUAL_HOST=ics.brothertec.eu
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=ics.brothertec.eu
- LETSENCRYPT_EMAIL=admin@brothertec.eu
restart: always
labels:
- flame.type=application
- flame.name=ICS to RSS
- flame.url=https://ics.brothertec.eu
- flame.icon=image
networks:
default:
proxy:
edge-tier:
- caddy
labels:
com.centurylinklabs.watchtower.enable: true
caddy: ics.brothertec.eu
caddy.@geofilter.maxmind_geolocation.db_path: /GeoIP/GeoLite2-Country.mmdb
caddy.@geofilter.maxmind_geolocation.deny_countries: RU CN
caddy.reverse_proxy: "@geofilter {{upstreams 8080}}"
caddy.encode: "zstd gzip"
caddy.log: ""
caddy.log.output: "file /logs/ics.brothertec.eu.log"
caddy.log.output.roll_size: "100MiB"
caddy.log.output.roll_keep: "5"
caddy.log.output.roll_keep_for: "100d"
caddy.log.format: "json"
caddy.log.level: "INFO"
networks:
proxy:
name: nginx-proxy
external: true
edge-tier:
name: edge
caddy:
external: true