2017-10-31 16:55:46 +08:00
|
|
|
APP_NAME = $APP_NAME
|
2017-11-03 05:08:21 +08:00
|
|
|
RUN_MODE = $RUN_MODE
|
|
|
|
|
|
|
|
[repository]
|
2016-11-28 21:13:18 +08:00
|
|
|
ROOT = /data/git/repositories
|
|
|
|
|
2018-07-04 08:44:46 +08:00
|
|
|
[repository.local]
|
|
|
|
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
|
|
|
|
|
2016-11-28 21:13:18 +08:00
|
|
|
[repository.upload]
|
|
|
|
TEMP_PATH = /data/gitea/uploads
|
|
|
|
|
|
|
|
[server]
|
|
|
|
APP_DATA_PATH = /data/gitea
|
2020-05-04 17:50:29 +08:00
|
|
|
DOMAIN = $DOMAIN
|
2017-10-31 16:55:46 +08:00
|
|
|
SSH_DOMAIN = $SSH_DOMAIN
|
|
|
|
HTTP_PORT = $HTTP_PORT
|
|
|
|
ROOT_URL = $ROOT_URL
|
|
|
|
DISABLE_SSH = $DISABLE_SSH
|
|
|
|
SSH_PORT = $SSH_PORT
|
2019-08-24 07:44:24 +08:00
|
|
|
SSH_LISTEN_PORT = $SSH_LISTEN_PORT
|
2019-06-24 13:33:57 +08:00
|
|
|
LFS_START_SERVER = $LFS_START_SERVER
|
2018-07-04 08:44:46 +08:00
|
|
|
LFS_CONTENT_PATH = /data/git/lfs
|
2016-11-28 21:13:18 +08:00
|
|
|
|
|
|
|
[database]
|
|
|
|
PATH = /data/gitea/gitea.db
|
2017-10-31 16:55:46 +08:00
|
|
|
DB_TYPE = $DB_TYPE
|
|
|
|
HOST = $DB_HOST
|
|
|
|
NAME = $DB_NAME
|
|
|
|
USER = $DB_USER
|
|
|
|
PASSWD = $DB_PASSWD
|
2020-10-10 23:19:50 +08:00
|
|
|
LOG_SQL = false
|
2016-11-28 21:13:18 +08:00
|
|
|
|
2018-07-04 08:44:46 +08:00
|
|
|
[indexer]
|
|
|
|
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
|
|
|
|
2016-11-28 21:13:18 +08:00
|
|
|
[session]
|
|
|
|
PROVIDER_CONFIG = /data/gitea/sessions
|
|
|
|
|
|
|
|
[picture]
|
|
|
|
AVATAR_UPLOAD_PATH = /data/gitea/avatars
|
2019-05-30 10:22:26 +08:00
|
|
|
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
|
2016-11-28 21:13:18 +08:00
|
|
|
|
|
|
|
[attachment]
|
|
|
|
PATH = /data/gitea/attachments
|
|
|
|
|
|
|
|
[log]
|
2020-10-10 23:19:50 +08:00
|
|
|
MODE = console
|
|
|
|
LEVEL = info
|
|
|
|
REDIRECT_MACARON_LOG = true
|
|
|
|
MACARON = console
|
|
|
|
ROUTER = console
|
2016-11-28 21:13:18 +08:00
|
|
|
ROOT_PATH = /data/gitea/log
|
2017-10-31 16:55:46 +08:00
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = $INSTALL_LOCK
|
|
|
|
SECRET_KEY = $SECRET_KEY
|
2018-05-23 23:31:12 +08:00
|
|
|
|
|
|
|
[service]
|
|
|
|
DISABLE_REGISTRATION = $DISABLE_REGISTRATION
|
|
|
|
REQUIRE_SIGNIN_VIEW = $REQUIRE_SIGNIN_VIEW
|