Update Gitea and Grafana configurations to enhance registration and authentication settings

This commit is contained in:
Nik Afiq 2026-03-11 23:25:42 +09:00
parent 3c50db2031
commit 12f333d5e8
2 changed files with 7 additions and 0 deletions

View File

@ -42,6 +42,9 @@ gitea:
DEFAULT_PRIVATE: true
service:
DISABLE_REGISTRATION: true
ALLOW_ONLY_EXTERNAL_SELF_REGISTRATION: false
auth:
LOCAL_REGISTRATION_DISABLED: true
persistence:
enabled: true

View File

@ -24,6 +24,10 @@ grafana:
token_url: https://auth.nik4nao.com/application/o/token/
api_url: https://auth.nik4nao.com/application/o/userinfo/
role_attribute_path: contains(groups, 'authentik Admins') && 'Admin' || 'Viewer'
auth:
disable_login_form: true
auth.basic:
enabled: false
ingress:
enabled: true
ingressClassName: traefik