2020-05-01 14:01:53 -05:00
|
|
|
APP_NAME = {{ gitea_app_name }}
|
2020-04-30 05:06:49 -05:00
|
|
|
RUN_USER = git
|
2020-04-30 10:47:55 -05:00
|
|
|
RUN_MODE = prod
|
2020-04-30 05:06:49 -05:00
|
|
|
|
|
|
|
[database]
|
2020-04-30 12:33:04 -05:00
|
|
|
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
|
2020-04-30 12:33:04 -05:00
|
|
|
CHARSET = utf8
|
|
|
|
PATH = /var/lib/gitea/data/gitea.db
|
2020-04-30 05:06:49 -05:00
|
|
|
|
2020-04-30 12:33:04 -05:00
|
|
|
[log]
|
|
|
|
MODE = file
|
|
|
|
LEVEL = info
|
|
|
|
ROOT_PATH = /var/lib/gitea/log
|
2020-04-30 05:06:49 -05:00
|
|
|
|
|
|
|
[mailer]
|
|
|
|
ENABLED = false
|
|
|
|
|
2020-04-30 12:33:04 -05:00
|
|
|
[oauth2]
|
2020-04-30 12:44:26 -05:00
|
|
|
JWT_SECRET = {{ gitea_jwt_secret.stdout }}
|
2020-04-30 05:06:49 -05:00
|
|
|
|
2020-04-30 12:33:04 -05:00
|
|
|
[openid]
|
|
|
|
ENABLE_OPENID_SIGNIN = true
|
|
|
|
ENABLE_OPENID_SIGNUP = false
|
2020-04-30 05:06:49 -05:00
|
|
|
|
|
|
|
[picture]
|
2020-04-30 12:33:04 -05:00
|
|
|
DISABLE_GRAVATAR = true
|
2020-04-30 05:06:49 -05:00
|
|
|
ENABLE_FEDERATED_AVATAR = false
|
|
|
|
|
2020-04-30 12:33:04 -05:00
|
|
|
[repository]
|
2020-05-01 14:01:53 -05:00
|
|
|
ROOT = {{ gitea_root_directory }}
|
2020-04-30 05:06:49 -05:00
|
|
|
|
2020-04-30 12:33:04 -05:00
|
|
|
[security]
|
2020-04-30 12:44:26 -05:00
|
|
|
INTERNAL_TOKEN = {{ gitea_internal_token.stdout }}
|
2020-04-30 12:33:04 -05:00
|
|
|
INSTALL_LOCK = true
|
2020-04-30 12:44:26 -05:00
|
|
|
SECRET_KEY = {{ gitea_secret_key.stdout }}
|
2020-04-30 05:06:49 -05:00
|
|
|
|
2020-04-30 12:33:04 -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
|
2020-04-30 12:44:26 -05:00
|
|
|
LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret.stdout }}
|
2020-04-30 12:33:04 -05:00
|
|
|
OFFLINE_MODE = true
|
2020-04-30 05:06:49 -05:00
|
|
|
|
2020-04-30 12:33:04 -05:00
|
|
|
[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
|
2020-04-30 05:06:49 -05:00
|
|
|
|
2020-04-30 12:33:04 -05:00
|
|
|
[session]
|
|
|
|
PROVIDER = file
|
2020-04-30 05:06:49 -05:00
|
|
|
|
2020-04-30 12:33:04 -05:00
|
|
|
[ui]
|
|
|
|
DEFAULT_THEME = arc-green
|
2020-04-30 05:06:49 -05:00
|
|
|
|