We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 643f21d commit 49a58d5Copy full SHA for 49a58d5
logging/grafana-loki/docker-compose.yml
@@ -18,6 +18,8 @@ services:
18
- traefik.http.routers.loki.tls.certresolver=le
19
- traefik.http.routers.loki.entrypoints=websecure
20
- traefik.docker.network=traefik-proxy
21
+ - traefik.http.routers.loki.middlewares=loki-auth
22
+ - traefik.http.middlewares.loki-auth.basicauth.usersfile=/etc/traefik/loki-auth.txt
23
volumes:
24
- /root/loki/conf/loki/etc/loki-config.yaml:/etc/loki/loki-config.yaml:ro
25
networks:
logging/traefik/docker-compose.yml
@@ -27,3 +27,4 @@ services:
27
28
- /var/run/docker.sock:/var/run/docker.sock
29
- /root/traefik/acme.json:/acme.json
30
+ - /root/loki/conf/loki-auth.txt:/etc/traefik/loki-auth.txt:ro
0 commit comments