traefik: combine all allowlist into fileprovider #235
3 changed files with 4 additions and 4 deletions
|
@ -38,7 +38,7 @@ services:
|
|||
traefik.http.routers.registry.entrypoints: entry_https
|
||||
traefik.http.services.registry.loadbalancer.server.port: 5000
|
||||
|
||||
traefik.http.routers.registry.middlewares: registry-ipallowlist,ratelimit40,allowlist_localnet
|
||||
traefik.http.routers.registry.middlewares: registry-ipallowlist,ratelimit40@file,allowlist_localnet@file
|
||||
|
||||
# registry aufräumen: docker exec -it oci-registry /bin/registry garbage-collect /etc/docker/registry/config.yml
|
||||
|
||||
|
@ -89,7 +89,7 @@ services:
|
|||
retries: 3
|
||||
labels:
|
||||
traefik.http.routers.registry-ui.rule: Host(`rui.mgrote.net`)
|
||||
traefik.http.routers.registry-ui.middlewares: authelia,allowlist_localnet,ratelimit40
|
||||
traefik.http.routers.registry-ui.middlewares: authelia@file,allowlist_localnet@file,ratelimit40@file
|
||||
traefik.enable: true
|
||||
traefik.http.routers.registry-ui.tls: true
|
||||
traefik.http.routers.registry-ui.tls.certresolver: resolver_letsencrypt
|
||||
|
|
|
@ -6,7 +6,7 @@ http:
|
|||
rule: "Host(`git.mgrote.net`)"
|
||||
service: "service_forgejo"
|
||||
middlewares:
|
||||
- "ratelimit40"
|
||||
- "ratelimit40@file"
|
||||
entrypoints:
|
||||
- entry_https
|
||||
tls:
|
||||
|
|
|
@ -26,7 +26,7 @@ services:
|
|||
traefik.http.routers.wiki.entrypoints: entry_https
|
||||
traefik.http.services.wiki.loadbalancer.server.port: 80
|
||||
|
||||
traefik.http.routers.wiki.middlewares: authelia
|
||||
traefik.http.routers.wiki.middlewares: authelia@file
|
||||
|
||||
######## Networks ########
|
||||
networks:
|
||||
|
|
Loading…
Reference in a new issue