Modify some things and cleanup gitea config

This commit is contained in:
Jake Howard 2020-05-21 17:58:38 +01:00
parent 1c8d80e12d
commit fc7b57eab9
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,4 +1,4 @@
APP_NAME = Gitea: Git with a cup of tea
APP_NAME = Gitea
RUN_MODE = prod
RUN_USER = git
@ -29,6 +29,7 @@ LANDING_PAGE = explore
ENABLE_GZIP = true
[ui]
EXPLORE_PAGING_NUM = 1000
DEFAULT_THEME = arc-green
THEMES = gitea,arc-green
@ -49,6 +50,7 @@ ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER = file
COOKIE_NAME = session
COOKIE_SECURE = true
[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars
@ -60,9 +62,8 @@ ENABLE_FEDERATED_AVATAR = true
PATH = /data/gitea/attachments
[log]
ROOT_PATH = /data/gitea/log
MODE = file
LEVEL = info
ACCESS = console
[security]
INSTALL_LOCK = true
@ -70,17 +71,10 @@ SECRET_KEY = {{ gitea.secret_key }}
INTERNAL_TOKEN = {{ gitea.internal_token }}
COOKIE_USERNAME = gitea_username
COOKIE_REMEMBER_NAME = gitea_remember
LOGIN_REMEMBER_DAYS = 28
[service]
DISABLE_REGISTRATION = true
REQUIRE_SIGNIN_VIEW = false
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.example.org
[oauth2]
@ -96,3 +90,6 @@ ENABLE_OPENID_SIGNUP = false
[cache]
ADAPTER = memory
INTERVAL = 60
[cron]
RUN_AT_START = true