TestInit.golden.ini 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. DB_TYPE=
  65. PASSWD=
  66. [security]
  67. INSTALL_LOCK=false
  68. SECRET_KEY=`!#@FDEWREWR&*(`
  69. LOGIN_REMEMBER_DAYS=7
  70. COOKIE_REMEMBER_NAME=gogs_incredible
  71. COOKIE_USERNAME=gogs_awesome
  72. COOKIE_SECURE=false
  73. ENABLE_LOGIN_STATUS_COOKIE=false
  74. LOGIN_STATUS_COOKIE_NAME=login_status
  75. REVERSE_PROXY_AUTHENTICATION_USER=
  76. [email]
  77. ENABLED=true
  78. SUBJECT_PREFIX=[Gogs]
  79. HOST=smtp.mailgun.org:587
  80. FROM=noreply@gogs.localhost
  81. USER=noreply@gogs.localhost
  82. PASSWORD=87654321
  83. DISABLE_HELO=false
  84. HELO_HOSTNAME=
  85. SKIP_VERIFY=false
  86. USE_CERTIFICATE=false
  87. CERT_FILE=custom/email/cert.pem
  88. KEY_FILE=custom/email/key.pem
  89. USE_PLAIN_TEXT=false
  90. ADD_PLAIN_TEXT_ALT=false
  91. PASSWD=
  92. [auth]
  93. ACTIVATE_CODE_LIVES=10
  94. RESET_PASSWORD_CODE_LIVES=10
  95. REQUIRE_EMAIL_CONFIRMATION=true
  96. REQUIRE_SIGNIN_VIEW=false
  97. DISABLE_REGISTRATION=false
  98. ENABLE_REGISTRATION_CAPTCHA=true
  99. ENABLE_REVERSE_PROXY_AUTHENTICATION=false
  100. ENABLE_REVERSE_PROXY_AUTO_REGISTRATION=false
  101. REVERSE_PROXY_AUTHENTICATION_HEADER=X-FORWARDED-FOR
  102. ACTIVE_CODE_LIVE_MINUTES=0
  103. RESET_PASSWD_CODE_LIVE_MINUTES=0
  104. REGISTER_EMAIL_CONFIRM=false
  105. ENABLE_CAPTCHA=false
  106. ENABLE_NOTIFY_MAIL=false
  107. [user]
  108. ENABLE_EMAIL_NOTIFICATION=true
  109. [session]
  110. PROVIDER=memory
  111. PROVIDER_CONFIG=data/sessions
  112. COOKIE_NAME=i_like_gogs
  113. COOKIE_SECURE=false
  114. GC_INTERVAL=10
  115. MAX_LIFE_TIME=10
  116. CSRF_COOKIE_NAME=_csrf
  117. GC_INTERVAL_TIME=0
  118. SESSION_LIFE_TIME=0
  119. [attachment]
  120. ENABLED=true
  121. PATH=/tmp/attachments
  122. ALLOWED_TYPES=image/jpeg|image/png
  123. MAX_SIZE=4
  124. MAX_FILES=5
  125. [time]
  126. FORMAT=RFC1123
  127. [picture]
  128. AVATAR_UPLOAD_PATH=/tmp/avatars
  129. REPOSITORY_AVATAR_UPLOAD_PATH=/tmp/repo-avatars
  130. GRAVATAR_SOURCE=https://secure.gravatar.com/avatar/
  131. DISABLE_GRAVATAR=false
  132. ENABLE_FEDERATED_AVATAR=false
  133. [mirror]
  134. DEFAULT_INTERVAL=8
  135. [i18n]
  136. 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
  137. 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