Gitea 配置修复

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
2024-07-18 11:22:42 +08:00
parent a1a451846f
commit 3205e0855d
4 changed files with 126 additions and 32 deletions
+7 -11
View File
@@ -19,22 +19,18 @@ INSTALL_LOCK=false
SECRET_KEY=""
DISABLE_REGISTRATION=false
REQUIRE_SIGNIN_VIEW=false
DEFAULT_UI_LOCATION=Asia/Shanghai
ALLOW_LOCALNETWORKS=true
ENABLE_SWAGGER=false
GITEA__time__DEFAULT_UI_LOCATION=Asia/Shanghai
GITEA__migrations__ALLOW_LOCALNETWORKS=true
GITEA__api__ENABLE_SWAGGER=false
GITEA__ui.meta__AUTHOR=新疆萌森软件开发工作室
GITEA__ui.meta__DESCRIPTION=轻量级代码托管解决方案,支持自建和托管服务。
GITEA__ui.meta__KEYWORDS=git,gitea,github,gitlab,gitee,code
GITEA__security__LOGIN_REMEMBER_DAYS=3
GITEA__server__LOCAL_ROOT_URL=http://localhost:3000/
GITEA__security__REVERSE_PROXY_TRUSTED_PROXIES=*
GITEA__webhook__ALLOWED_HOST_LIST=*
GITEA__picture__REPOSITORY_AVATAR_FALLBACK=random
GITEA__attachment__MAX_SIZE=1024
GITEA__git__MAX_GIT_DIFF_LINES=10000
GITEA__git.timeout__DEFAULT=1800
GITEA__git.timeout__MIGRATE=1800
GITEA__git.timeout__MIRROR=1800
GITEA__git.timeout__CLONE=900
GITEA__git.timeout__GC=180
GITEA__git.config__http.postBuffer=2147483648
GITEA__git.config__core.compression=3
no_proxy=localhost,127.0.0.1,::1
GITEA__git.config__core.compression=0
GITEA__other__SHOW_FOOTER_POWERED_BY=false