80 lines
1.7 KiB
INI
80 lines
1.7 KiB
INI
APP_NAME = Gitea: Git with a cup of tea
|
|
RUN_USER = git
|
|
RUN_MODE = prod
|
|
|
|
[database]
|
|
DB_TYPE = sqlite3
|
|
HOST = 127.0.0.1:5432
|
|
NAME = gitea
|
|
USER = gitea
|
|
PASSWD =
|
|
SCHEMA =
|
|
SSL_MODE = disable
|
|
CHARSET = utf8
|
|
PATH = /var/lib/gitea/data/gitea.db
|
|
LOG_SQL = false
|
|
|
|
[repository]
|
|
ROOT = /var/lib/gitea/data/gitea-repositories
|
|
|
|
[server]
|
|
SSH_DOMAIN = git.lunch.org.uk
|
|
DOMAIN = git.lunch.org.uk
|
|
HTTP_PORT = 3000
|
|
ROOT_URL = https://git.lunch.org.uk/
|
|
DISABLE_SSH = false
|
|
LFS_START_SERVER = true
|
|
LFS_JWT_SECRET = {{ pillar['gitea']['lfs_jwt_secret'] }}
|
|
OFFLINE_MODE = false
|
|
|
|
[lfs]
|
|
PATH = /var/lib/gitea/data/lfs
|
|
|
|
[mailer]
|
|
ENABLED = true
|
|
HOST = mail.lunch.org.uk:587
|
|
FROM = git@lunch.org.uk
|
|
USER =
|
|
PASSWD =
|
|
|
|
[service]
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
ENABLE_NOTIFY_MAIL = false
|
|
DISABLE_REGISTRATION = false
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
ENABLE_CAPTCHA = false
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
|
NO_REPLY_ADDRESS = noreply.lunch.org.uk
|
|
|
|
[picture]
|
|
DISABLE_GRAVATAR = false
|
|
ENABLE_FEDERATED_AVATAR = true
|
|
|
|
[openid]
|
|
ENABLE_OPENID_SIGNIN = true
|
|
ENABLE_OPENID_SIGNUP = true
|
|
|
|
[session]
|
|
PROVIDER = file
|
|
|
|
[log]
|
|
MODE = console
|
|
LEVEL = info
|
|
ROOT_PATH = /var/lib/gitea/log
|
|
ROUTER = console
|
|
|
|
[repository.pull-request]
|
|
DEFAULT_MERGE_STYLE = merge
|
|
|
|
[repository.signing]
|
|
DEFAULT_TRUST_MODEL = committer
|
|
|
|
[security]
|
|
INSTALL_LOCK = true
|
|
INTERNAL_TOKEN = {{ pillar['gitea']['internal_token'] }}
|
|
PASSWORD_HASH_ALGO = pbkdf2
|
|
|