Gitea configuration update
Signed-off-by: Georg <georg@lysergic.dev>
This commit is contained in:
parent
58f01ad6ef
commit
cf280fd9b0
@ -36,6 +36,10 @@ SSL_MODE = disable
|
||||
CHARSET = utf8
|
||||
PATH = /var/lib/gitea/data/gitea.db
|
||||
|
||||
[queue]
|
||||
TYPE = redis
|
||||
CONN_STR = redis://127.0.0.1:6378/0
|
||||
|
||||
[repository]
|
||||
ROOT = /var/lib/git/gitea-repositories
|
||||
|
||||
@ -48,11 +52,16 @@ IS_TLS_ENABLED = true
|
||||
USER = $SMTPUSER
|
||||
PASSWD = $SMTPPASS
|
||||
|
||||
[cache]
|
||||
ENABLED = true
|
||||
ADAPTER = redis
|
||||
HOST = redis://127.0.0.1:6378/1?pool_size=100&idle_timeout=180s
|
||||
|
||||
[service]
|
||||
REGISTER_EMAIL_CONFIRM = true
|
||||
REGISTER_EMAIL_CONFIRM = false
|
||||
ENABLE_NOTIFY_MAIL = true
|
||||
DISABLE_REGISTRATION = false
|
||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = true
|
||||
ENABLE_CAPTCHA = false
|
||||
REQUIRE_SIGNIN_VIEW = false
|
||||
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
||||
@ -67,13 +76,16 @@ ENABLE_FEDERATED_AVATAR = false
|
||||
[openid]
|
||||
ENABLE_OPENID_SIGNIN = false
|
||||
ENABLE_OPENID_SIGNUP = false
|
||||
WHITELISTED_URIS = https:\/\/auth.syscid.com\/*
|
||||
|
||||
[session]
|
||||
PROVIDER = file
|
||||
PROVIDER = redis
|
||||
PROVIDER_CONFIG = redis://127.0.0.1:6378/2?pool_size=100&idle_timeout=180s
|
||||
COOKIE_NAME = libertacasa_git
|
||||
|
||||
[log]
|
||||
MODE = file
|
||||
LEVEL = info
|
||||
LEVEL = warn
|
||||
ROOT_PATH = /var/log/gitea/
|
||||
|
||||
[metrics]
|
||||
|
Loading…
Reference in New Issue
Block a user