ansible/roles/gitea/templates/app.ini
2020-08-02 19:39:39 -05:00

75 lines
1.7 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]
ENABLE_PUSH_CREATE_USER = {{ gitea_push_create_user }}
ENABLE_PUSH_CREATE_ORG = {{ gitea_push_create_org }}
ROOT = {{ gitea_root_directory }}
[security]
INTERNAL_TOKEN = {{ gitea_internal_token.stdout }}
INSTALL_LOCK = true
PASSWORD_COMPLEXITY = off
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 = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = {{ gitea.disable_registration }}
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