本站源代码
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

67 lignes
1.3KB

  1. APP_NAME = Gitea: Go Git Service
  2. RUN_USER = root
  3. RUN_MODE = prod
  4. CUSTOM_PATH = SNAP_DIR_DATA/custom
  5. [server]
  6. DOMAIN = localhost
  7. PROTOCOL = http
  8. HTTP_PORT = 3001
  9. ROOT_URL = http://localhost:3001/
  10. DISABLE_SSH = false
  11. SSH_PORT = 22
  12. STATIC_ROOT_PATH = SNAP_DIR_DATA/static
  13. APP_DATA_PATH = SNAP_DIR_COMMON/data
  14. SSH_ROOT = SNAP_DIR_COMMON/ssh
  15. SSH_KEY_TEST_PATH = SNAP_DIR_DATA/sshkeytest
  16. [database]
  17. DB_TYPE = sqlite3
  18. PATH = SNAP_DIR_COMMON/gitea.db
  19. [repository]
  20. ROOT = SNAP_DIR_COMMON/repositories/data
  21. [repository.upload]
  22. ENABLED = true
  23. ALLOWED_TYPES = "image/jpeg|image/png"
  24. FILE_MAX_SIZE = 10
  25. MAX_FILES = 5
  26. TEMP_PATH = SNAP_DIR_COMMON/repositories/tmp
  27. [release.attachment]
  28. PATH = SNAP_DIR_COMMON/releases/attachments
  29. [smartypants]
  30. ENABLED = true
  31. [indexer]
  32. ISSUE_INDEXER_PATH = SNAP_DIR_COMMON/indexers/issues.bleve
  33. [mailer]
  34. ENABLED = false
  35. [service]
  36. REGISTER_EMAIL_CONFIRM = false
  37. ENABLE_NOTIFY_MAIL = false
  38. DISABLE_REGISTRATION = false
  39. ENABLE_CAPTCHA = false
  40. REQUIRE_SIGNIN_VIEW = false
  41. [picture]
  42. AVATAR_UPLOAD_PATH = SNAP_DIR_COMMON/pictures/avatars
  43. DISABLE_GRAVATAR = true
  44. ENABLE_FEDERATED_AVATAR = false
  45. [attachment]
  46. PATH = SNAP_DIR_COMMON/attachments
  47. [session]
  48. PROVIDER = memory
  49. [log]
  50. MODE = file
  51. LEVEL = Trace
  52. ROOT_PATH = SNAP_DIR_COMMON/log
上海开阖软件有限公司 沪ICP备12045867号-1