update caddy config
This commit is contained in:
parent
160c8a5930
commit
636c10face
1 changed files with 17 additions and 19 deletions
|
@ -10,32 +10,30 @@ services:
|
|||
- GO111MODULE=on
|
||||
#ports:
|
||||
# - "8080:8080"
|
||||
environment:
|
||||
- VIRTUAL_HOST=ip.brothertec.eu
|
||||
- VIRTUAL_PORT=8080
|
||||
- LETSENCRYPT_HOST=ip.brothertec.eu
|
||||
- LETSENCRYPT_EMAIL=admin@brothertec.eu
|
||||
|
||||
#volumes:
|
||||
# - ./uploads:/uploads
|
||||
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
- caddy
|
||||
|
||||
labels:
|
||||
- flame.type=application
|
||||
- flame.name=Get IP
|
||||
- flame.url=https://ip.brothertec.eu/getip
|
||||
- flame.icon=ip
|
||||
com.centurylinklabs.watchtower.enable: false
|
||||
caddy: ip.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/ip.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:
|
||||
default:
|
||||
proxy:
|
||||
edge-tier:
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
name: nginx-proxy
|
||||
external: true
|
||||
edge-tier:
|
||||
name: edge
|
||||
caddy:
|
||||
external: true
|
||||
|
|
Loading…
Reference in a new issue