98 lines
2.2 KiB
INI
98 lines
2.2 KiB
INI
APP_NAME = Gitea: Git with a cup of tea
|
|
RUN_MODE = prod
|
|
RUN_USER = git
|
|
|
|
[repository]
|
|
ROOT = /data/git/repositories
|
|
|
|
[repository.local]
|
|
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
|
|
|
|
[repository.upload]
|
|
TEMP_PATH = /data/gitea/uploads
|
|
|
|
[server]
|
|
APP_DATA_PATH = /data/gitea
|
|
SSH_DOMAIN = git.theorangeone.net
|
|
HTTP_PORT = 3000
|
|
ROOT_URL = https://git.theorangeone.net/gitea/
|
|
DISABLE_SSH = false
|
|
SSH_PORT = 22
|
|
SSH_LISTEN_PORT = 3022
|
|
START_SSH_SERVER = true
|
|
LFS_START_SERVER = true
|
|
LFS_CONTENT_PATH = /data/git/lfs
|
|
DOMAIN = git.theorangeone.net
|
|
LFS_JWT_SECRET = {{ gitea.lfs_jwt_secret }}
|
|
OFFLINE_MODE = false
|
|
LANDING_PAGE = explore
|
|
ENABLE_GZIP = true
|
|
|
|
[ui]
|
|
DEFAULT_THEME = arc-green
|
|
THEMES = gitea,arc-green
|
|
|
|
[database]
|
|
DB_TYPE = postgres
|
|
HOST = db:5432
|
|
NAME = gitea
|
|
USER = gitea
|
|
PASSWD = gitea
|
|
SSL_MODE = disable
|
|
CHARSET = utf8
|
|
LOG_SQL = false
|
|
|
|
[indexer]
|
|
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
|
|
|
[session]
|
|
PROVIDER_CONFIG = /data/gitea/sessions
|
|
PROVIDER = file
|
|
COOKIE_NAME = session
|
|
|
|
[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
|
|
SECRET_KEY = {{ gitea.secret_key }}
|
|
INTERNAL_TOKEN = {{ gitea.internal_token }}
|
|
COOKIE_USERNAME = gitea_username
|
|
COOKIE_REMEMBER_NAME = gitea_remember
|
|
|
|
[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]
|
|
JWT_SECRET = {{ gitea.jwt_secret }}
|
|
|
|
[mailer]
|
|
ENABLED = false
|
|
|
|
[openid]
|
|
ENABLE_OPENID_SIGNIN = false
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
[cache]
|
|
ADAPTER = memory
|
|
INTERVAL = 60
|