2019-11-02 19:28:50 +01:00
|
|
|
APP_NAME = Gitea: Git with a cup of tea
|
|
|
|
RUN_MODE = prod
|
|
|
|
RUN_USER = git
|
|
|
|
|
|
|
|
[repository]
|
2022-11-13 01:10:26 +01:00
|
|
|
ROOT = /data/git/repositories
|
|
|
|
DEFAULT_PRIVATE = true
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[repository.local]
|
|
|
|
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
|
|
|
|
|
|
|
|
[repository.upload]
|
|
|
|
TEMP_PATH = /data/gitea/uploads
|
|
|
|
|
|
|
|
[server]
|
|
|
|
APP_DATA_PATH = /data/gitea
|
2019-11-24 17:57:40 +01:00
|
|
|
SSH_DOMAIN = git.${BASE_DOMAIN}
|
2019-11-02 19:28:50 +01:00
|
|
|
HTTP_PORT = 3000
|
2019-11-24 17:57:40 +01:00
|
|
|
ROOT_URL = https://git.${BASE_DOMAIN}/
|
2019-11-02 19:28:50 +01:00
|
|
|
DISABLE_SSH = false
|
2020-09-22 17:18:07 +02:00
|
|
|
SSH_PORT = ${GITEA_SSH_PORT}
|
2019-11-02 19:28:50 +01:00
|
|
|
SSH_LISTEN_PORT = 22
|
|
|
|
LFS_START_SERVER = true
|
|
|
|
LFS_CONTENT_PATH = /data/git/lfs
|
2019-11-24 17:57:40 +01:00
|
|
|
DOMAIN = git.${BASE_DOMAIN}
|
|
|
|
LFS_JWT_SECRET = ${GITEA_LFS_JWT_SECTRET}
|
2019-11-02 19:28:50 +01:00
|
|
|
OFFLINE_MODE = false
|
|
|
|
|
|
|
|
[database]
|
|
|
|
DB_TYPE = postgres
|
|
|
|
HOST = pg-gitea:5432
|
|
|
|
NAME = gitea
|
|
|
|
USER = gitea
|
2019-11-24 17:57:40 +01:00
|
|
|
PASSWD = ${GITEA_PG_PWD}
|
2019-11-02 19:28:50 +01:00
|
|
|
SSL_MODE = disable
|
|
|
|
CHARSET = utf8
|
|
|
|
|
|
|
|
[indexer]
|
|
|
|
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER_CONFIG = /data/gitea/sessions
|
|
|
|
PROVIDER = file
|
|
|
|
|
|
|
|
[picture]
|
|
|
|
AVATAR_UPLOAD_PATH = /data/gitea/avatars
|
|
|
|
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
|
|
|
|
DISABLE_GRAVATAR = false
|
|
|
|
ENABLE_FEDERATED_AVATAR = true
|
|
|
|
|
|
|
|
[attachment]
|
|
|
|
PATH = /data/gitea/attachments
|
|
|
|
|
|
|
|
[log]
|
|
|
|
ROOT_PATH = /data/gitea/log
|
|
|
|
MODE = file
|
|
|
|
LEVEL = info
|
|
|
|
|
|
|
|
[security]
|
|
|
|
INSTALL_LOCK = true
|
2019-11-24 17:57:40 +01:00
|
|
|
SECRET_KEY = ${GITEA_SECRET_KEY}
|
|
|
|
INTERNAL_TOKEN = ${GITEA_INTERNAL_TOKEN}
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[service]
|
2019-11-24 17:57:40 +01:00
|
|
|
DISABLE_REGISTRATION = true
|
2019-11-10 15:21:53 +01:00
|
|
|
REQUIRE_SIGNIN_VIEW = true
|
2019-11-02 19:28:50 +01:00
|
|
|
REGISTER_EMAIL_CONFIRM = false
|
2022-11-13 01:10:26 +01:00
|
|
|
REGISTER_MANUAL_CONFIRM = true
|
2019-11-02 19:28:50 +01:00
|
|
|
ENABLE_NOTIFY_MAIL = true
|
|
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
|
|
ENABLE_CAPTCHA = false
|
|
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
2019-11-24 17:57:40 +01:00
|
|
|
NO_REPLY_ADDRESS = noreply@${BASE_DOMAIN}
|
2019-11-02 19:28:50 +01:00
|
|
|
|
2022-10-23 19:53:43 +02:00
|
|
|
[service.explore]
|
|
|
|
REQUIRE_SIGNIN_VIEW = true
|
|
|
|
|
2019-11-02 19:28:50 +01:00
|
|
|
[oauth2]
|
2019-11-24 17:57:40 +01:00
|
|
|
JWT_SECRET = ${GITEA_JWT_SECRET}
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[mailer]
|
2019-12-05 23:02:28 +01:00
|
|
|
ENABLED = true
|
|
|
|
HOST = mail:25
|
|
|
|
FROM = ${GITEA_MAIL_FROM}@${BASE_DOMAIN}
|
|
|
|
SKIP_VERIFY = true
|
2019-11-02 19:28:50 +01:00
|
|
|
|
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = false
|
|
|
|
ENABLE_OPENID_SIGNUP = false
|
2022-10-23 19:53:43 +02:00
|
|
|
|
|
|
|
[cron]
|
|
|
|
ENABLED = true
|