ansible/roles/gitea/templates/app.ini

75 lines
1.7 KiB
INI
Raw Normal View History

2020-05-01 14:01:53 -05:00
APP_NAME = {{ gitea_app_name }}
2020-04-30 05:06:49 -05:00
RUN_USER = git
RUN_MODE = prod
2020-04-30 05:06:49 -05:00
[database]
DB_TYPE = mysql
HOST = 127.0.0.1:3306
NAME = gitea
USER = gitea
PASSWD = {{ gitea_mysql_password }}
2020-04-30 05:06:49 -05:00
SSL_MODE = disable
CHARSET = utf8
PATH = /var/lib/gitea/data/gitea.db
2020-04-30 05:06:49 -05:00
[log]
MODE = file
LEVEL = info
ROOT_PATH = /var/lib/gitea/log
2020-04-30 05:06:49 -05:00
[mailer]
ENABLED = false
[oauth2]
JWT_SECRET = {{ gitea_jwt_secret.stdout }}
2020-04-30 05:06:49 -05:00
[openid]
ENABLE_OPENID_SIGNIN = true
ENABLE_OPENID_SIGNUP = false
2020-04-30 05:06:49 -05:00
[picture]
DISABLE_GRAVATAR = true
2020-04-30 05:06:49 -05:00
ENABLE_FEDERATED_AVATAR = false
[repository]
2020-05-08 02:11:34 -05:00
ENABLE_PUSH_CREATE_USER = {{ gitea_push_create_user }}
ENABLE_PUSH_CREATE_ORG = {{ gitea_push_create_org }}
ROOT = {{ gitea_root_directory }}
2020-04-30 05:06:49 -05:00
[security]
2020-05-01 14:59:10 -05:00
INTERNAL_TOKEN = {{ gitea_internal_token.stdout }}
INSTALL_LOCK = true
PASSWORD_COMPLEXITY = off
SECRET_KEY = {{ gitea_secret_key.stdout }}
2020-04-30 05:06:49 -05:00
[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
2020-04-30 05:06:49 -05:00
[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
2020-04-30 05:06:49 -05:00
[session]
PROVIDER = file
2020-04-30 05:06:49 -05:00
[ui]
DEFAULT_THEME = arc-green
2020-04-30 05:06:49 -05:00