TestInit.golden.ini 3.6 KB

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