79 lines
1.8 KiB
INI
79 lines
1.8 KiB
INI
APP_NAME = Gitea: Git with a cup of tea
|
|
RUN_USER = git
|
|
RUN_MODE = prod
|
|
|
|
[oauth2]
|
|
JWT_SECRET = Cyb3GmSaoJpkaHhA5X6wiNCK7KsngKEr6w_v37WZ1a4
|
|
|
|
[security]
|
|
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1NjMzNzYxNzR9.Z8_xg9eBZt8fSMTQLQB2xxGUx7GB5M3_v_Tsc441LOg
|
|
INSTALL_LOCK = true
|
|
SECRET_KEY = Br3eWgKaVIvM2TiHgvRnDbeZTSvBeVxSOS2VbjsPiyZ8Egigqre4dq0ZqaIKoxlB
|
|
|
|
[database]
|
|
DB_TYPE = mysql
|
|
HOST = 192.168.10.200:3307
|
|
NAME = gitea
|
|
USER = root
|
|
PASSWD = Holiday88
|
|
SSL_MODE = disable
|
|
PATH = /var/lib/gitea/data/gitea.db
|
|
|
|
[repository]
|
|
ROOT = /var/lib/git
|
|
|
|
[server]
|
|
SSH_DOMAIN = gitea.kazu634.com
|
|
DOMAIN = gitea.kazu634.com
|
|
HTTP_PORT = 3000
|
|
ROOT_URL = https://gitea.kazu634.com/
|
|
DISABLE_SSH = false
|
|
SSH_PORT = 50022
|
|
LFS_START_SERVER = true
|
|
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
|
|
LFS_JWT_SECRET = hcxZi2iadhyYTdRtAOJXXWPckR-lK2rFHPCbA1isvV0
|
|
OFFLINE_MODE = false
|
|
|
|
[mailer]
|
|
ENABLED = false
|
|
|
|
[service]
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
ENABLE_NOTIFY_MAIL = false
|
|
DISABLE_REGISTRATION = true
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
|
|
ENABLE_CAPTCHA = true
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
|
NO_REPLY_ADDRESS = noreply.example.org
|
|
|
|
[picture]
|
|
DISABLE_GRAVATAR = false
|
|
ENABLE_FEDERATED_AVATAR = true
|
|
|
|
[openid]
|
|
ENABLE_OPENID_SIGNIN = false
|
|
ENABLE_OPENID_SIGNUP = false
|
|
|
|
[session]
|
|
PROVIDER = file
|
|
|
|
[log]
|
|
MODE = file
|
|
LEVEL = Info
|
|
ROOT_PATH = /var/lib/gitea/log
|
|
|
|
[other]
|
|
SHOW_FOOTER_VERSION = false
|
|
|
|
[attachment]
|
|
ENABLED = true
|
|
ALLOWED_TYPES = */*
|
|
MAX_SIZE = 1024
|
|
MAX_FILES = 25
|
|
|
|
[metrics]
|
|
ENABLED = true
|