Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

app.ini 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. APP_NAME = GinAtHome
  2. RUN_USER = git
  3. RUN_MODE = prod
  4. [database]
  5. DB_TYPE = postgres
  6. HOST = ginpgres:5432
  7. NAME = gin
  8. USER = gin
  9. PASSWD = dbtest
  10. SSL_MODE = disable
  11. PATH = data/gogs.db
  12. [repository]
  13. ROOT = /data/repos
  14. DISABLE_HTTP_GIT = false
  15. SHOW_HTTP_GIT = false
  16. PREFERRED_LICENSES = Creative Commons CC0 1.0 Public Domain Dedication
  17. RAW_CAPTCHA_MIN_FILE_SIZE = 50
  18. CAPTCHA_MIN_FILE_SIZE = 5
  19. FORCE_PRIVATE = true
  20. AUTO_INIT = true
  21. [server]
  22. DOMAIN = SERVICE.org
  23. HTTP_PORT = 3000
  24. ROOT_URL = https://SERVICE.org/
  25. DISABLE_SSH = false
  26. ; Not using built-in SSH
  27. SSH_PORT = 22
  28. START_SSH_SERVER = false
  29. OFFLINE_MODE = false
  30. APP_DATA_PATH = /data/tmp/appdata
  31. [picture]
  32. ENABLE_FEDERATED_AVATAR = true
  33. [session]
  34. PROVIDER = file
  35. COOKIE_NAME = gin_at_home
  36. [log]
  37. MODE = file
  38. LEVEL = Trace
  39. ROOT_PATH = /app/gogs/log
  40. [security]
  41. INSTALL_LOCK = true
  42. SECRET_KEY = [ use key from initial app.ini created during service setup ]
  43. COOKIE_USERNAME = gin_at_home_user
  44. COOKIE_REMEMBER_NAME = gin_at_home_user_remember
  45. LOGIN_REMEMBER_DAYS = 30
  46. [repository.upload]
  47. ; Enable repository file uploads.
  48. ENABLED = true
  49. ; Path to temporarily store uploads (default path gets cleaned by Gogs in every start)
  50. TEMP_PATH = /data/tmp/uploads
  51. ; File types that are allowed to be uploaded, e.g. image/jpeg|image/png. Leave empty means allow any file type
  52. ALLOWED_TYPES =
  53. ; Maximum size of each file in MB
  54. FILE_MAX_SIZE = 10000
  55. ANNEX_FILE_MIN_SIZE = 10
  56. ; Maximum number of files per upload
  57. MAX_FILES = 100
  58. [service]
  59. ACTIVE_CODE_LIVE_MINUTES = 180
  60. RESET_PASSWD_CODE_LIVE_MINUTES = 1440
  61. ; User need to confirm e-mail for registration
  62. REGISTER_EMAIL_CONFIRM = false
  63. ; Does not allow register and admin create account only
  64. DISABLE_REGISTRATION = false
  65. ; User must sign in to view anything.
  66. REQUIRE_SIGNIN_VIEW = false
  67. ; Mail notification
  68. ENABLE_NOTIFY_MAIL = true
  69. ; More detail: https://github.com/gogits/gogs/issues/165
  70. ENABLE_REVERSE_PROXY_AUTHENTICATION = false
  71. ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
  72. ; Enable captcha validation for registration
  73. ENABLE_CAPTCHA = true
  74. [mailer]
  75. ENABLED = false
  76. ; Buffer length of channel, keep it as it is if you don't know what it is.
  77. SEND_BUFFER_LEN = 100
  78. ; Name displayed in mail title
  79. SUBJECT = %(APP_NAME)s
  80. ; Mail server
  81. ; Gmail: smtp.gmail.com:587
  82. ; QQ: smtp.qq.com:465
  83. ; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
  84. HOST = mailx.SERVICE.org:25
  85. ; Disable HELO operation when hostname are different.
  86. DISABLE_HELO = true
  87. ; Custom hostname for HELO operation, default is from system.
  88. HELO_HOSTNAME =
  89. ; Do not verify the certificate of the server. Only use this for self-signed certificates
  90. SKIP_VERIFY = true
  91. ; Use client certificate
  92. USE_CERTIFICATE = false
  93. ; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
  94. FROM = no-reply@SERVICE.org
  95. USER =
  96. PASSWD =
  97. ; Use text/plain as format of content
  98. USE_PLAIN_TEXT = false
  99. [api]
  100. MAX_RESPONSE_ITEMS = 10000
  101. [ui]
  102. THEME_COLOR_META_TAG = `#ffffff`
  103. [git]
  104. ; Max number of lines allowed of a single file in diff view
  105. MAX_GIT_DIFF_LINES = 1000
  106. ; Max number of characters of a line allowed in diff view
  107. MAX_GIT_DIFF_LINE_CHARACTERS = 5000
  108. ; Max number of files shown in diff view
  109. MAX_GIT_DIFF_FILES = 100