forked from coop-cloud/traefik
fix: remove basic auth
This commit is contained in:
@@ -225,7 +225,6 @@ WRITE_TIMEOUT=0s
|
||||
|
||||
## Anubis metrics
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.anubis-metrics.yml"
|
||||
#SECRET_BASIC_AUTH_VERSION=v1 # generate=false
|
||||
|
||||
## Enable onion service support
|
||||
#ONION_ENABLED=1
|
||||
|
||||
@@ -4,7 +4,4 @@ bots:
|
||||
metrics:
|
||||
bind: ":9090"
|
||||
network: "tcp"
|
||||
basicAuth:
|
||||
username: "admin"
|
||||
password: "{{ secret "basic_auth" }}"
|
||||
{{ end }}
|
||||
|
||||
@@ -4,15 +4,8 @@ services:
|
||||
anubis:
|
||||
environment:
|
||||
ANUBIS_METRICS_ENABLED: "true"
|
||||
secrets:
|
||||
- "basic_auth"
|
||||
deploy:
|
||||
labels:
|
||||
- "prometheus.io/scrape=true"
|
||||
- "prometheus.io/port=9090"
|
||||
- "prometheus.io/path=/metrics"
|
||||
- "prometheus.io/auth=basic"
|
||||
secrets:
|
||||
basic_auth:
|
||||
external: true
|
||||
name: "${STACK_NAME}_basic_auth_${SECRET_BASIC_AUTH_VERSION}"
|
||||
|
||||
Reference in New Issue
Block a user