update caddy config

This commit is contained in:
Simon Rieger 2025-01-22 00:54:58 +01:00
parent b28f473442
commit 14d8311e04

View file

@ -10,11 +10,6 @@ services:
- GO111MODULE=on - GO111MODULE=on
#ports: #ports:
# - "8080:8080" # - "8080:8080"
environment:
- VIRTUAL_HOST=pick.brothertec.eu,upload.brothertec.eu
- VIRTUAL_PORT=8080
- LETSENCRYPT_HOST=pick.brothertec.eu,upload.brothertec.eu
- LETSENCRYPT_EMAIL=admin@brothertec.eu
volumes: volumes:
- ./uploads:/uploads - ./uploads:/uploads
@ -24,10 +19,19 @@ services:
restart: always restart: always
labels: labels:
- flame.type=application com.centurylinklabs.watchtower.enable: false
- flame.name=Picture Upload caddy: pick.brothertec.eu
- flame.url=https://pick.brothertec.eu caddy.@geofilter.maxmind_geolocation.db_path: /GeoIP/GeoLite2-Country.mmdb
- flame.icon=image 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/pick.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: networks:
default: default: