75 lines
1.3 KiB
INI
75 lines
1.3 KiB
INI
[DEFAULT]
|
|
APP_NAME = ckn-gitea
|
|
RUN_USER = git
|
|
RUN_MODE = prod
|
|
|
|
[repository]
|
|
ROOT = /var/lib/gitea/repositories
|
|
MAX_CREATION_LIMIT = 0
|
|
DEFAULT_BRANCH = main
|
|
|
|
[ui]
|
|
ISSUE_PAGING_NUM = 50
|
|
MEMBERS_PAGING_NUM = 100
|
|
|
|
[server]
|
|
PROTOCOL = http
|
|
HTTP_ADDR = 0.0.0.0
|
|
HTTP_PORT = 3500
|
|
DISABLE_SSH = true
|
|
SSH_PORT = 22
|
|
LFS_START_SERVER = true
|
|
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
|
|
OFFLINE_MODE = true
|
|
START_SSH_SERVER = false
|
|
DISABLE_ROUTER_LOG = true
|
|
LANDING_PAGE = explore
|
|
|
|
[admin]
|
|
DEFAULT_EMAIL_NOTIFICATIONS = onmention
|
|
DISABLE_REGULAR_ORG_CREATION = true
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
LOGIN_REMEMBER_DAYS = 30
|
|
|
|
[openid]
|
|
ENABLE_OPENID_SIGNIN = false
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
[service]
|
|
REGISTER_EMAIL_CONFIRM = true
|
|
ENABLE_NOTIFY_MAIL = true
|
|
DISABLE_REGISTRATION = false
|
|
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
|
|
|
|
[session]
|
|
PROVIDER = file
|
|
|
|
[picture]
|
|
DISABLE_GRAVATAR = true
|
|
ENABLE_FEDERATED_AVATAR = false
|
|
|
|
[log]
|
|
MODE = console
|
|
LEVEL = warn
|
|
|
|
[other]
|
|
SHOW_FOOTER_BRANDING = true
|
|
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
|
|
|
|
[webhook]
|
|
ALLOWED_HOST_LIST = *
|
|
DELIVER_TIMEOUT = 600
|
|
|
|
[indexer]
|
|
REPO_INDEXER_ENABLED = true
|
|
MAX_FILE_SIZE = 10240000
|
|
|
|
[queue.issue_indexer]
|
|
LENGTH = 20
|