traefik: combine all allowlist into fileprovider #235

Merged
mg merged 8 commits from t into master 2024-11-10 18:07:13 +01:00
Showing only changes of commit 3f1ab37e6c - Show all commits

View file

@ -38,7 +38,7 @@ services:
traefik.http.routers.registry.entrypoints: entry_https traefik.http.routers.registry.entrypoints: entry_https
traefik.http.services.registry.loadbalancer.server.port: 5000 traefik.http.services.registry.loadbalancer.server.port: 5000
traefik.http.routers.registry.middlewares: ratelimit40@file,allowlist_localnet@file traefik.http.routers.registry.middlewares: allowlist_localnet@file,ratelimit40@file
# registry aufräumen: docker exec -it oci-registry /bin/registry garbage-collect /etc/docker/registry/config.yml # registry aufräumen: docker exec -it oci-registry /bin/registry garbage-collect /etc/docker/registry/config.yml
@ -89,7 +89,7 @@ services:
retries: 3 retries: 3
labels: labels:
traefik.http.routers.registry-ui.rule: Host(`rui.mgrote.net`) traefik.http.routers.registry-ui.rule: Host(`rui.mgrote.net`)
traefik.http.routers.registry-ui.middlewares: authelia@docker,allowlist_localnet@file,ratelimit40@file traefik.http.routers.registry-ui.middlewares: allowlist_localnet@file,ratelimit40@file,authelia@docker
traefik.enable: true traefik.enable: true
traefik.http.routers.registry-ui.tls: true traefik.http.routers.registry-ui.tls: true
traefik.http.routers.registry-ui.tls.certresolver: resolver_letsencrypt traefik.http.routers.registry-ui.tls.certresolver: resolver_letsencrypt