2020-08-20 13:34:27 +00:00
|
|
|
APP_NAME = ${app_name}
|
|
|
|
RUN_USER = git
|
|
|
|
RUN_MODE = prod
|
|
|
|
|
|
|
|
[repository]
|
|
|
|
ROOT = /home/git/gitea-repositories
|
|
|
|
MAX_CREATION_LIMIT = 0
|
|
|
|
DEFAULT_BRANCH = main
|
|
|
|
|
|
|
|
[ui]
|
|
|
|
ISSUE_PAGING_NUM = 50
|
|
|
|
MEMBERS_PAGING_NUM = 100
|
|
|
|
|
|
|
|
[server]
|
|
|
|
PROTOCOL = http
|
|
|
|
SSH_DOMAIN = ${domain}
|
|
|
|
DOMAIN = ${domain}
|
|
|
|
HTTP_ADDR = 127.0.0.1
|
2020-09-20 08:29:19 +00:00
|
|
|
HTTP_PORT = 22000
|
2020-08-20 13:34:27 +00:00
|
|
|
ROOT_URL = https://${domain}/
|
|
|
|
DISABLE_SSH = false
|
|
|
|
SSH_PORT = 22
|
|
|
|
LFS_START_SERVER = true
|
|
|
|
LFS_JWT_SECRET = ${lfs_secret_key}
|
|
|
|
OFFLINE_MODE = true
|
|
|
|
START_SSH_SERVER = false
|
|
|
|
DISABLE_ROUTER_LOG = true
|
|
|
|
LANDING_PAGE = explore
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = postgres
|
|
|
|
HOST = ${database.get('host', 'localhost')}:5432
|
|
|
|
NAME = ${database['database']}
|
|
|
|
USER = ${database['username']}
|
|
|
|
PASSWD = ${database['password']}
|
|
|
|
SSL_MODE = disable
|
|
|
|
LOG_SQL = false
|
|
|
|
|
|
|
|
[admin]
|
|
|
|
DEFAULT_EMAIL_NOTIFICATIONS = onmention
|
|
|
|
DISABLE_REGULAR_ORG_CREATION = true
|
|
|
|
|
|
|
|
[security]
|
|
|
|
INTERNAL_TOKEN = ${internal_token}
|
|
|
|
INSTALL_LOCK = true
|
|
|
|
SECRET_KEY = ${security_secret_key}
|
|
|
|
LOGIN_REMEMBER_DAYS = 30
|
2021-05-01 12:27:31 +00:00
|
|
|
DISABLE_GIT_HOOKS = ${str(not enable_git_hooks).lower()}
|
2020-08-20 13:34:27 +00:00
|
|
|
|
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = false
|
|
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
|
|
|
|
[service]
|
|
|
|
REGISTER_EMAIL_CONFIRM = true
|
|
|
|
ENABLE_NOTIFY_MAIL = true
|
2022-07-12 18:28:59 +00:00
|
|
|
DISABLE_REGISTRATION = ${str(disable_registration).lower()}
|
2020-08-20 13:34:27 +00:00
|
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
|
|
ENABLE_CAPTCHA = false
|
|
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = true
|
|
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
|
|
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
|
|
|
NO_REPLY_ADDRESS = noreply.${domain}
|
2021-04-11 16:20:16 +00:00
|
|
|
EMAIL_DOMAIN_BLOCKLIST = ${','.join(sorted(email_domain_blocklist))}
|
2020-08-20 13:34:27 +00:00
|
|
|
|
|
|
|
[mailer]
|
|
|
|
ENABLED = true
|
2023-01-29 08:40:38 +00:00
|
|
|
PROTOCOL = sendmail
|
2020-08-20 13:34:27 +00:00
|
|
|
FROM = "${app_name}" <noreply@${domain}>
|
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER = file
|
|
|
|
|
|
|
|
[picture]
|
|
|
|
DISABLE_GRAVATAR = true
|
|
|
|
ENABLE_FEDERATED_AVATAR = false
|
|
|
|
|
|
|
|
[log]
|
|
|
|
MODE = console
|
|
|
|
LEVEL = warn
|
|
|
|
|
|
|
|
[oauth2]
|
|
|
|
JWT_SECRET = ${oauth_secret_key}
|
|
|
|
|
|
|
|
[other]
|
|
|
|
SHOW_FOOTER_BRANDING = true
|
|
|
|
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
|