app.ini 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. BRAND_NAME = Gogs
  2. RUN_USER = root
  3. RUN_MODE = prod
  4. [database]
  5. TYPE = mysql
  6. HOST = 127.0.0.1:3306
  7. NAME = git
  8. USER = root
  9. PASSWORD = Gold@53743001
  10. SSL_MODE = disable
  11. PATH = /home/使_用_者/gogs/data/gogs.db
  12. [repository]
  13. ROOT = /home/使_用_者/gogs-repositories
  14. [server]
  15. DOMAIN = localhost
  16. HTTP_PORT = 3000
  17. EXTERNAL_URL = http://localhost:3000/
  18. DISABLE_SSH = false
  19. SSH_PORT = 22
  20. START_SSH_SERVER = false
  21. OFFLINE_MODE = false
  22. [mailer]
  23. ENABLED = false
  24. [service]
  25. REGISTER_EMAIL_CONFIRM = false
  26. ENABLE_NOTIFY_MAIL = false
  27. DISABLE_REGISTRATION = false
  28. ENABLE_CAPTCHA = true
  29. REQUIRE_SIGNIN_VIEW = false
  30. [picture]
  31. DISABLE_GRAVATAR = false
  32. ENABLE_FEDERATED_AVATAR = false
  33. [session]
  34. PROVIDER = file
  35. [log]
  36. MODE = file
  37. LEVEL = Info
  38. ROOT_PATH = /home/使_用_者/gogs/log
  39. [security]
  40. INSTALL_LOCK = true
  41. SECRET_KEY = i1HcejkdIJ3v2TQ
  42. [repository.upload]
  43. ; Whether to enable repository file uploads.
  44. ENABLED = true
  45. ; The path to temporarily store uploads (content under this path gets wiped out on every start).
  46. TEMP_PATH = data/tmp/uploads
  47. ; File types that are allowed to be uploaded, e.g. "image/jpeg|image/png". Leave empty to allow any file type.
  48. ALLOWED_TYPES =
  49. ; The maximum size of each file in MB.
  50. FILE_MAX_SIZE = 200
  51. ; The maximum number of files per upload.
  52. MAX_FILES = 10000