2
0

TestInit.golden.ini 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. BRAND_NAME=Testing
  2. RUN_USER=git
  3. RUN_MODE=test
  4. APP_NAME=
  5. [server]
  6. EXTERNAL_URL=http://localhost:3080/
  7. DOMAIN=localhost
  8. PROTOCOL=http
  9. HTTP_ADDR=0.0.0.0
  10. HTTP_PORT=3000
  11. CERT_FILE=custom/https/cert.pem
  12. KEY_FILE=custom/https/key.pem
  13. TLS_MIN_VERSION=TLS12
  14. UNIX_SOCKET_PERMISSION=666
  15. LOCAL_ROOT_URL=http://0.0.0.0:3000/
  16. OFFLINE_MODE=false
  17. DISABLE_ROUTER_LOG=true
  18. ENABLE_GZIP=false
  19. APP_DATA_PATH=/tmp/data
  20. LOAD_ASSETS_FROM_DISK=false
  21. LANDING_URL=/explore
  22. ROOT_URL=
  23. LANDING_PAGE=
  24. DISABLE_SSH=false
  25. SSH_DOMAIN=localhost
  26. SSH_PORT=22
  27. SSH_ROOT_PATH=/tmp
  28. SSH_KEYGEN_PATH=ssh-keygen
  29. SSH_KEY_TEST_PATH=/tmp/ssh-key-test
  30. MINIMUM_KEY_SIZE_CHECK=true
  31. REWRITE_AUTHORIZED_KEYS_AT_START=false
  32. START_SSH_SERVER=false
  33. SSH_LISTEN_HOST=0.0.0.0
  34. SSH_LISTEN_PORT=22
  35. SSH_SERVER_CIPHERS=aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,arcfour256,arcfour128
  36. [repository]
  37. ROOT=/tmp/gogs-repositories
  38. SCRIPT_TYPE=bash
  39. ANSI_CHARSET=
  40. FORCE_PRIVATE=false
  41. MAX_CREATION_LIMIT=-1
  42. PREFERRED_LICENSES=Apache License 2.0,MIT License
  43. DISABLE_HTTP_GIT=false
  44. ENABLE_LOCAL_PATH_MIGRATION=false
  45. ENABLE_RAW_FILE_RENDER_MODE=false
  46. COMMITS_FETCH_CONCURRENCY=0
  47. [repository.editor]
  48. LINE_WRAP_EXTENSIONS=.txt,.md,.markdown,.mdown,.mkd
  49. PREVIEWABLE_FILE_MODES=markdown
  50. [repository.upload]
  51. ENABLED=true
  52. TEMP_PATH=/tmp/uploads
  53. ALLOWED_TYPES=
  54. FILE_MAX_SIZE=3
  55. MAX_FILES=5
  56. [database]
  57. TYPE=sqlite
  58. HOST=127.0.0.1:5432
  59. NAME=gogs
  60. USER=gogs
  61. PASSWORD=12345678
  62. SSL_MODE=disable
  63. PATH=/tmp/gogs.db
  64. MAX_OPEN_CONNS=30
  65. MAX_IDLE_CONNS=30
  66. DB_TYPE=
  67. PASSWD=
  68. [security]
  69. INSTALL_LOCK=false
  70. SECRET_KEY=`!#@FDEWREWR&*(`
  71. LOGIN_REMEMBER_DAYS=7
  72. COOKIE_REMEMBER_NAME=gogs_incredible
  73. COOKIE_USERNAME=gogs_awesome
  74. COOKIE_SECURE=false
  75. ENABLE_LOGIN_STATUS_COOKIE=false
  76. LOGIN_STATUS_COOKIE_NAME=login_status
  77. LOCAL_NETWORK_ALLOWLIST=
  78. REVERSE_PROXY_AUTHENTICATION_USER=
  79. [email]
  80. ENABLED=true
  81. SUBJECT_PREFIX=[Gogs]
  82. HOST=smtp.mailgun.org:587
  83. FROM=noreply@gogs.localhost
  84. USER=noreply@gogs.localhost
  85. PASSWORD=87654321
  86. DISABLE_HELO=false
  87. HELO_HOSTNAME=
  88. SKIP_VERIFY=false
  89. USE_CERTIFICATE=false
  90. CERT_FILE=custom/email/cert.pem
  91. KEY_FILE=custom/email/key.pem
  92. USE_PLAIN_TEXT=false
  93. ADD_PLAIN_TEXT_ALT=false
  94. PASSWD=
  95. [auth]
  96. ACTIVATE_CODE_LIVES=10
  97. RESET_PASSWORD_CODE_LIVES=10
  98. REQUIRE_EMAIL_CONFIRMATION=true
  99. REQUIRE_SIGNIN_VIEW=false
  100. DISABLE_REGISTRATION=false
  101. ENABLE_REGISTRATION_CAPTCHA=true
  102. ENABLE_REVERSE_PROXY_AUTHENTICATION=false
  103. ENABLE_REVERSE_PROXY_AUTO_REGISTRATION=false
  104. REVERSE_PROXY_AUTHENTICATION_HEADER=X-FORWARDED-FOR
  105. ACTIVE_CODE_LIVE_MINUTES=0
  106. RESET_PASSWD_CODE_LIVE_MINUTES=0
  107. REGISTER_EMAIL_CONFIRM=false
  108. ENABLE_CAPTCHA=false
  109. ENABLE_NOTIFY_MAIL=false
  110. [user]
  111. ENABLE_EMAIL_NOTIFICATION=true
  112. [session]
  113. PROVIDER=memory
  114. PROVIDER_CONFIG=data/sessions
  115. COOKIE_NAME=i_like_gogs
  116. COOKIE_SECURE=false
  117. GC_INTERVAL=10
  118. MAX_LIFE_TIME=10
  119. CSRF_COOKIE_NAME=_csrf
  120. GC_INTERVAL_TIME=0
  121. SESSION_LIFE_TIME=0
  122. [attachment]
  123. ENABLED=true
  124. PATH=/tmp/attachments
  125. ALLOWED_TYPES=image/jpeg|image/png
  126. MAX_SIZE=4
  127. MAX_FILES=5
  128. [time]
  129. FORMAT=RFC1123
  130. [picture]
  131. AVATAR_UPLOAD_PATH=/tmp/avatars
  132. REPOSITORY_AVATAR_UPLOAD_PATH=/tmp/repo-avatars
  133. GRAVATAR_SOURCE=https://secure.gravatar.com/avatar/
  134. DISABLE_GRAVATAR=false
  135. ENABLE_FEDERATED_AVATAR=false
  136. [mirror]
  137. DEFAULT_INTERVAL=8
  138. [i18n]
  139. LANGS=en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR,gl-ES,uk-UA,en-GB,hu-HU,sk-SK,id-ID,fa-IR,vi-VN,pt-PT
  140. NAMES=English,简体中文,繁體中文(香港),繁體中文(臺灣),Deutsch,français,Nederlands,latviešu,русский,日本語,español,português do Brasil,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어,galego,українська,English (United Kingdom),Magyar,Slovenčina,Indonesian,Persian,Vietnamese,Português