8 lines
366 B
YAML
8 lines
366 B
YAML
# Prometheus web configuration with authentication
|
|
web:
|
|
basic_auth_users:
|
|
prometheus_user: $2y$10$8J8J8J8J8J8J8J8J8J8J8u8J8J8J8J8J8J8J8J8J8J8J8J8J8J8J8J8J8
|
|
|
|
# Note: The password hash above is for 'prometheus_password'
|
|
# To generate a new password hash, use:
|
|
# echo "prometheus_password" | docker run --rm -i prom/prometheus:latest htpasswd -niB prometheus_user |