Additional settings

This commit is contained in:
Andrea Dell'Amico 2021-06-16 15:22:07 +02:00
parent 3401312672
commit 424097de4e
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,7 @@ gitea_data_subdirs:
- sock
gitea_repository_data: '{{ gitea_data_dir }}/repositories'
gitea_max_repository_per_user: 200
gitea_server_protocol: unix
gitea_http_addr: '{{ gitea_data_dir }}/sock/gitea.sock'

View File

@ -4,6 +4,8 @@ RUN_MODE= {{ gitea_run_mode }}
[repository]
ROOT = {{ gitea_repository_data }}
;; Global limit of repositories per user, applied at creation time. -1 means no limit
MAX_CREATION_LIMIT = {{ gitea_max_repository_per_user }}
[server]
PROTOCOL = {{ gitea_server_protocol }}
@ -27,6 +29,7 @@ NAME = {{ gitea_db_name }}
USER = {{ gitea_db_user }}
PASSWD = {{ gitea_db_pwd }}
SSL_MODE = {{ gitea_db_ssl_mode }}
LOG_SQL = false
[security]
INSTALL_LOCK = {{ gitea_install_lock }}
@ -34,6 +37,10 @@ INSTALL_LOCK = {{ gitea_install_lock }}
[service]
DISABLE_REGISTRATION = {{ gitea_disable_registration }}
NO_REPLY_ADDRESS = {{ gitea_mail_from }}
DEFAULT_KEEP_EMAIL_PRIVATE = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
DEFAULT_ORG_VISIBILITY = public
DEFAULT_ORG_MEMBER_VISIBLE = false
[service.explore]
REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin_view }}