Add Grafana config
This commit is contained in:
parent
142af44bbf
commit
5a3c25167c
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env fish
|
||||
read -P "Install main config [yN] ? " inst
|
||||
test $inst = "y"; and sudo install -o grafana -g grafana -m o=,g=r,u=rw -b -D app.ini /etc/forgejo/app.ini
|
|
@ -0,0 +1,2 @@
|
|||
# Grafana
|
||||
Install to `/etc`.
|
|
@ -0,0 +1,44 @@
|
|||
[server]
|
||||
protocol = socket
|
||||
domain = dash.edgarpierre.fr
|
||||
enforce_domain = true
|
||||
socket = /run/grafana/grafana.socket
|
||||
|
||||
[database]
|
||||
type = postgres
|
||||
host = /run/postgresql
|
||||
user = grafana
|
||||
|
||||
[analytics]
|
||||
reporting_enabled = false
|
||||
check_for_updates = false
|
||||
check_for_plugin_updates = false
|
||||
|
||||
[security]
|
||||
disable_gravatar = true
|
||||
cookie_secure = true
|
||||
cookie_samesite = strict
|
||||
strict_transport_security = true
|
||||
strict_transport_security_preload = true
|
||||
strict_transport_security_subdomains = true
|
||||
|
||||
[snapshots]
|
||||
enabled = false
|
||||
external_enabled = false
|
||||
|
||||
[users]
|
||||
allow_sign_up = false
|
||||
verify_email_enabled = true
|
||||
default_language = fr-FR
|
||||
|
||||
[smtp]
|
||||
enabled = true
|
||||
host = smtp.edgarpierre.fr:465
|
||||
from_address = grafana@edgarpierre.fr
|
||||
user = grafana
|
||||
password = $$$
|
||||
|
||||
[emails]
|
||||
welcome_email_on_sign_up = true
|
||||
templates_pattern = emails/*.txt
|
||||
content_types = text/plain
|
Loading…
Reference in New Issue