68 lines
1.2 KiB
INI
68 lines
1.2 KiB
INI
## Server
|
|
[server]
|
|
protocol = 'http'
|
|
http_addr = '0.0.0.0'
|
|
http_port = '7577'
|
|
domain = 'stats.redxen.eu'
|
|
root_url = 'https://stats.redxen.eu'
|
|
enable_gzip = 'false'
|
|
|
|
## Database
|
|
[database]
|
|
type = 'postgres'
|
|
host = 'postgresql.routinginfo.internal:7550'
|
|
name = 'grafana'
|
|
user = 'grafana'
|
|
ssl_mode = "disable"
|
|
password = "POSTGRESQL_PASSWORD"
|
|
|
|
## Remote cache
|
|
[remote_cache]
|
|
type = 'database'
|
|
|
|
## Security
|
|
[security]
|
|
cookie_secure = 'true'
|
|
cookie_samesite = 'strict'
|
|
|
|
## Users
|
|
[users]
|
|
allow_sign_up = 'false'
|
|
|
|
## Anonymous auth
|
|
[auth]
|
|
disable_login_form = 'false'
|
|
oauth_auto_login = 'false'
|
|
|
|
[auth.anonymous]
|
|
enabled = 'true'
|
|
org_name = 'RedXen'
|
|
org_role = 'Viewer'
|
|
|
|
## LDAP Auth
|
|
# [auth.ldap]
|
|
# enabled = true
|
|
# config_file = /etc/grafana/ldap.toml
|
|
# allow_sign_up = true
|
|
|
|
## Session (legacy)
|
|
# session_provider = 'redis'
|
|
# session_provider_config = 'addr=db_redis:6379,pool_size=100,db=grafana'
|
|
# session_cookie_secure = 'true'
|
|
|
|
## Snapshots
|
|
[snapshots]
|
|
external_enabled = 'false'
|
|
|
|
## Alpha panels
|
|
[panels]
|
|
enable_alpha = 'true'
|
|
|
|
[smtp]
|
|
enabled = 'true'
|
|
host = 'mail.redxen.eu:465'
|
|
user = 'grafana'
|
|
password = 'SMTP_AUTH_PASSWORD'
|
|
from_address = 'grafana@redxen.eu'
|
|
startTLS_policy = 'MandatoryStartTLS'
|