ansible/roles/gitea/templates/app.ini

72 lines
1.5 KiB
INI

APP_NAME = {{ gitea_app_name }}
RUN_USER = git
RUN_MODE = prod
[database]
DB_TYPE = mysql
HOST = 127.0.0.1:3306
NAME = gitea
USER = gitea
PASSWD = {{ gitea_mysql_password }}
SSL_MODE = disable
CHARSET = utf8
PATH = /var/lib/gitea/data/gitea.db
[log]
MODE = file
LEVEL = info
ROOT_PATH = /var/lib/gitea/log
[mailer]
ENABLED = false
[oauth2]
JWT_SECRET = {{ gitea_jwt_secret.stdout }}
[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = false
[picture]
DISABLE_GRAVATAR = true
ENABLE_FEDERATED_AVATAR = false
[repository]
ROOT = {{ gitea_root_directory }}
[security]
INTERNAL_TOKEN = {{ gitea_internal_token.stdout }}
INSTALL_LOCK = true
SECRET_KEY = {{ gitea_secret_key.stdout }}
[server]
SSH_DOMAIN = {{ gitea_url }}
DOMAIN = {{ gitea_url }}
HTTP_PORT = 3000
ROOT_URL = https://{{ gitea_url }}/
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret.stdout }}
OFFLINE_MODE = true
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = true
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 = bad.company
[session]
PROVIDER = file
[ui]
DEFAULT_THEME = arc-green