2020-09-22 14:39:06 +00:00
|
|
|
# Example configuration
|
|
|
|
|
|
|
|
# Authentification
|
|
|
|
auth:
|
|
|
|
backend: basic
|
|
|
|
basic:
|
|
|
|
credentials:
|
|
|
|
# Demo user with password "demo"
|
|
|
|
demo: $2b$15$LRnG3eIHFlYIguTxZOLH7eHwbQC/vqjnLq6nDFiHSUDKIU.f5/1H6
|
|
|
|
|
|
|
|
# Example to bypass login, dangerous!
|
|
|
|
#backend: bypass
|
|
|
|
|
|
|
|
# Example of LDAP server login
|
|
|
|
#backend: ldap
|
|
|
|
#ldap:
|
|
|
|
# uri: ldap://127.0.0.1:389
|
|
|
|
# userdn: cn=users,dc=example,dc=com
|
|
|
|
|
|
|
|
# Prometheus monitoring endpoint
|
|
|
|
monitoring:
|
2020-09-22 14:44:59 +00:00
|
|
|
listenAddress: 127.0.0.1:2112
|
2020-09-22 14:39:06 +00:00
|
|
|
|
|
|
|
# Customize web server
|
|
|
|
web:
|
2020-09-22 14:44:59 +00:00
|
|
|
listenAddress: 127.0.0.1:8080
|
2020-09-22 14:39:06 +00:00
|
|
|
name: Demo
|
2020-09-22 14:44:59 +00:00
|
|
|
hostname: localhost
|
|
|
|
favicon: https://www.crans.org/images/favicon.ico
|
|
|
|
widgetURL: https://example.com/
|