Modify some things and cleanup gitea config
This commit is contained in:
parent
1c8d80e12d
commit
fc7b57eab9
1 changed files with 8 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
APP_NAME = Gitea: Git with a cup of tea
|
APP_NAME = Gitea
|
||||||
RUN_MODE = prod
|
RUN_MODE = prod
|
||||||
RUN_USER = git
|
RUN_USER = git
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ LANDING_PAGE = explore
|
||||||
ENABLE_GZIP = true
|
ENABLE_GZIP = true
|
||||||
|
|
||||||
[ui]
|
[ui]
|
||||||
|
EXPLORE_PAGING_NUM = 1000
|
||||||
DEFAULT_THEME = arc-green
|
DEFAULT_THEME = arc-green
|
||||||
THEMES = gitea,arc-green
|
THEMES = gitea,arc-green
|
||||||
|
|
||||||
|
@ -49,6 +50,7 @@ ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
||||||
PROVIDER_CONFIG = /data/gitea/sessions
|
PROVIDER_CONFIG = /data/gitea/sessions
|
||||||
PROVIDER = file
|
PROVIDER = file
|
||||||
COOKIE_NAME = session
|
COOKIE_NAME = session
|
||||||
|
COOKIE_SECURE = true
|
||||||
|
|
||||||
[picture]
|
[picture]
|
||||||
AVATAR_UPLOAD_PATH = /data/gitea/avatars
|
AVATAR_UPLOAD_PATH = /data/gitea/avatars
|
||||||
|
@ -60,9 +62,8 @@ ENABLE_FEDERATED_AVATAR = true
|
||||||
PATH = /data/gitea/attachments
|
PATH = /data/gitea/attachments
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
ROOT_PATH = /data/gitea/log
|
|
||||||
MODE = file
|
|
||||||
LEVEL = info
|
LEVEL = info
|
||||||
|
ACCESS = console
|
||||||
|
|
||||||
[security]
|
[security]
|
||||||
INSTALL_LOCK = true
|
INSTALL_LOCK = true
|
||||||
|
@ -70,17 +71,10 @@ SECRET_KEY = {{ gitea.secret_key }}
|
||||||
INTERNAL_TOKEN = {{ gitea.internal_token }}
|
INTERNAL_TOKEN = {{ gitea.internal_token }}
|
||||||
COOKIE_USERNAME = gitea_username
|
COOKIE_USERNAME = gitea_username
|
||||||
COOKIE_REMEMBER_NAME = gitea_remember
|
COOKIE_REMEMBER_NAME = gitea_remember
|
||||||
|
LOGIN_REMEMBER_DAYS = 28
|
||||||
|
|
||||||
[service]
|
[service]
|
||||||
DISABLE_REGISTRATION = true
|
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
|
NO_REPLY_ADDRESS = noreply.example.org
|
||||||
|
|
||||||
[oauth2]
|
[oauth2]
|
||||||
|
@ -96,3 +90,6 @@ ENABLE_OPENID_SIGNUP = false
|
||||||
[cache]
|
[cache]
|
||||||
ADAPTER = memory
|
ADAPTER = memory
|
||||||
INTERVAL = 60
|
INTERVAL = 60
|
||||||
|
|
||||||
|
[cron]
|
||||||
|
RUN_AT_START = true
|
||||||
|
|
Loading…
Reference in a new issue