gitea配置更新

This commit is contained in:
xxq250 2024-09-09 15:05:59 +08:00
parent 8dadc6e6fd
commit 87aa1717ef
1 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,8 @@ WORK_PATH = /usr/local/bin
[repository]
ROOT = /data/git/repositories
DEFAULT_BRANCH = master
DEFAULT_FORK_REPO_UNITS = repo.code,repo.releases,repo.issues,repo.pulls,repo.wiki,repo.projects,repo.packages,repo.actions
DEFAULT_REPO_UNITS = repo.code,repo.releases,repo.issues,repo.pulls,repo.wiki,repo.projects,repo.packages,repo.actions
[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
@ -20,7 +22,7 @@ SSH_DOMAIN = 172.20.32.202
HTTP_PORT = 3000
ROOT_URL = http://172.20.32.202:3000/
DISABLE_SSH = false
SSH_PORT = 22
SSH_PORT = 2022
SSH_LISTEN_PORT = 22
LFS_START_SERVER = true
LFS_JWT_SECRET = PF1aCnpSAOzYVsj-NsoTnUrpuENObpBlqqadvslTACg
@ -104,6 +106,8 @@ JWT_SECRET = PW4ewVP93Am7cKpEj7VBDOTXPBZTeDpicap06E1Di6E
[migrations]
ALLOW_LOCALNETWORKS = true
[ssh.minimum_key_sizes]
RSA = 2048
[actions]
ENABLED=true