summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg2021-09-13 09:15:10 +0200
committerGeorg2021-09-13 09:15:10 +0200
commitcf280fd9b0bd0bf63abb86739d1dced63a747199 (patch)
treeefafd0b8cd21abda173a35096c9b1184d5be169f
parent58f01ad6ef5cbfb60c7b867c48ba4f49a201a363 (diff)
downloadgit-cf280fd9b0bd0bf63abb86739d1dced63a747199.tar.gz
git-cf280fd9b0bd0bf63abb86739d1dced63a747199.tar.bz2
git-cf280fd9b0bd0bf63abb86739d1dced63a747199.zip
Gitea configuration update
Signed-off-by: Georg <georg@lysergic.dev>
-rw-r--r--Gitea/app.ini20
1 files changed, 16 insertions, 4 deletions
diff --git a/Gitea/app.ini b/Gitea/app.ini
index c082159..69084ef 100644
--- a/Gitea/app.ini
+++ b/Gitea/app.ini
@@ -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]