feat: disable user registration in Gitea service configuration

Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
zhenyus 2025-03-29 00:20:46 +08:00
parent 36db36a20d
commit 3c5682916e

View File

@ -530,6 +530,8 @@ gitea:
server: server:
SSH_PORT: 22 # rootful image SSH_PORT: 22 # rootful image
SSH_LISTEN_PORT: 2222 # rootless image SSH_LISTEN_PORT: 2222 # rootless image
service:
DISABLE_REGISTRATION: "true"
# #
# security: # security:
# PASSWORD_COMPLEXITY: spec # PASSWORD_COMPLEXITY: spec