123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- BRAND_NAME = Gogs
- RUN_USER = root
- RUN_MODE = prod
- [database]
- TYPE = mysql
- HOST = 127.0.0.1:3306
- NAME = git
- USER = root
- PASSWORD = Gold@53743001
- SSL_MODE = disable
- PATH = /home/使_用_者/gogs/data/gogs.db
- [repository]
- ROOT = /home/使_用_者/gogs-repositories
- [server]
- DOMAIN = localhost
- HTTP_PORT = 3000
- EXTERNAL_URL = http://localhost:3000/
- DISABLE_SSH = false
- SSH_PORT = 22
- START_SSH_SERVER = false
- OFFLINE_MODE = false
- [mailer]
- ENABLED = false
- [service]
- REGISTER_EMAIL_CONFIRM = false
- ENABLE_NOTIFY_MAIL = false
- DISABLE_REGISTRATION = false
- ENABLE_CAPTCHA = true
- REQUIRE_SIGNIN_VIEW = false
- [picture]
- DISABLE_GRAVATAR = false
- ENABLE_FEDERATED_AVATAR = false
- [session]
- PROVIDER = file
- [log]
- MODE = file
- LEVEL = Info
- ROOT_PATH = /home/使_用_者/gogs/log
- [security]
- INSTALL_LOCK = true
- SECRET_KEY = i1HcejkdIJ3v2TQ
- [repository.upload]
- ; Whether to enable repository file uploads.
- ENABLED = true
- ; The path to temporarily store uploads (content under this path gets wiped out on every start).
- TEMP_PATH = data/tmp/uploads
- ; File types that are allowed to be uploaded, e.g. "image/jpeg|image/png". Leave empty to allow any file type.
- ALLOWED_TYPES =
- ; The maximum size of each file in MB.
- FILE_MAX_SIZE = 200
- ; The maximum number of files per upload.
- MAX_FILES = 10000
|