TestInit.golden.ini 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. BRAND_NAME=Testing
  2. RUN_USER=git
  3. RUN_MODE=test
  4. [server]
  5. EXTERNAL_URL=http://localhost:3080/
  6. DOMAIN=localhost
  7. PROTOCOL=http
  8. HTTP_ADDR=0.0.0.0
  9. HTTP_PORT=3000
  10. CERT_FILE=custom/https/cert.pem
  11. KEY_FILE=custom/https/key.pem
  12. TLS_MIN_VERSION=TLS12
  13. UNIX_SOCKET_PERMISSION=666
  14. LOCAL_ROOT_URL=http://0.0.0.0:3000/
  15. OFFLINE_MODE=false
  16. DISABLE_ROUTER_LOG=true
  17. ENABLE_GZIP=false
  18. APP_DATA_PATH=/tmp/data
  19. LOAD_ASSETS_FROM_DISK=false
  20. LANDING_URL=/explore
  21. DISABLE_SSH=false
  22. SSH_DOMAIN=localhost
  23. SSH_PORT=22
  24. SSH_ROOT_PATH=/tmp
  25. SSH_KEYGEN_PATH=ssh-keygen
  26. SSH_KEY_TEST_PATH=/tmp/ssh-key-test
  27. MINIMUM_KEY_SIZE_CHECK=true
  28. REWRITE_AUTHORIZED_KEYS_AT_START=false
  29. START_SSH_SERVER=false
  30. SSH_LISTEN_HOST=0.0.0.0
  31. SSH_LISTEN_PORT=22
  32. SSH_SERVER_CIPHERS=aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,arcfour256,arcfour128
  33. SSH_SERVER_MACS=hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1
  34. [repository]
  35. ROOT=/tmp/gogs-repositories
  36. SCRIPT_TYPE=bash
  37. ANSI_CHARSET=
  38. FORCE_PRIVATE=false
  39. MAX_CREATION_LIMIT=-1
  40. PREFERRED_LICENSES=Apache License 2.0,MIT License
  41. DISABLE_HTTP_GIT=false
  42. ENABLE_LOCAL_PATH_MIGRATION=false
  43. ENABLE_RAW_FILE_RENDER_MODE=false
  44. COMMITS_FETCH_CONCURRENCY=0
  45. [repository.editor]
  46. LINE_WRAP_EXTENSIONS=.txt,.md,.markdown,.mdown,.mkd
  47. PREVIEWABLE_FILE_MODES=markdown
  48. [repository.upload]
  49. ENABLED=true
  50. TEMP_PATH=/tmp/uploads
  51. ALLOWED_TYPES=
  52. FILE_MAX_SIZE=3
  53. MAX_FILES=5
  54. [database]
  55. TYPE=sqlite
  56. HOST=127.0.0.1:5432
  57. NAME=gogs
  58. USER=gogs
  59. PASSWORD=12345678
  60. SSL_MODE=disable
  61. PATH=/tmp/gogs.db
  62. MAX_OPEN_CONNS=30
  63. MAX_IDLE_CONNS=30
  64. [security]
  65. INSTALL_LOCK=false
  66. SECRET_KEY=`!#@FDEWREWR&*(`
  67. LOGIN_REMEMBER_DAYS=7
  68. COOKIE_REMEMBER_NAME=gogs_incredible
  69. COOKIE_USERNAME=gogs_awesome
  70. COOKIE_SECURE=false
  71. ENABLE_LOGIN_STATUS_COOKIE=false
  72. LOGIN_STATUS_COOKIE_NAME=login_status
  73. [email]
  74. ENABLED=true
  75. SUBJECT_PREFIX="[Testing] "
  76. HOST=smtp.mailgun.org:587
  77. FROM=noreply@gogs.localhost
  78. USER=noreply@gogs.localhost
  79. PASSWORD=87654321
  80. DISABLE_HELO=false
  81. HELO_HOSTNAME=
  82. SKIP_VERIFY=false
  83. USE_CERTIFICATE=false
  84. CERT_FILE=custom/email/cert.pem
  85. KEY_FILE=custom/email/key.pem
  86. USE_PLAIN_TEXT=false
  87. ADD_PLAIN_TEXT_ALT=false
  88. [auth]
  89. ACTIVATE_CODE_LIVES=10
  90. RESET_PASSWORD_CODE_LIVES=10
  91. REQUIRE_EMAIL_CONFIRMATION=true
  92. REQUIRE_SIGNIN_VIEW=false
  93. DISABLE_REGISTRATION=false
  94. ENABLE_REGISTRATION_CAPTCHA=true
  95. ENABLE_REVERSE_PROXY_AUTHENTICATION=false
  96. ENABLE_REVERSE_PROXY_AUTO_REGISTRATION=false
  97. REVERSE_PROXY_AUTHENTICATION_HEADER=X-FORWARDED-FOR
  98. [user]
  99. ENABLE_EMAIL_NOTIFICATION=true
  100. [session]
  101. PROVIDER=memory
  102. PROVIDER_CONFIG=data/sessions
  103. COOKIE_NAME=i_like_gogs
  104. COOKIE_SECURE=false
  105. GC_INTERVAL=10
  106. MAX_LIFE_TIME=10
  107. CSRF_COOKIE_NAME=_csrf
  108. [attachment]
  109. ENABLED=true
  110. PATH=/tmp/attachments
  111. ALLOWED_TYPES=image/jpeg|image/png
  112. MAX_SIZE=4
  113. MAX_FILES=5
  114. [time]
  115. FORMAT=RFC1123
  116. [picture]
  117. AVATAR_UPLOAD_PATH=/tmp/avatars
  118. REPOSITORY_AVATAR_UPLOAD_PATH=/tmp/repo-avatars
  119. GRAVATAR_SOURCE=https://secure.gravatar.com/avatar/
  120. DISABLE_GRAVATAR=false
  121. ENABLE_FEDERATED_AVATAR=false
  122. [mirror]
  123. DEFAULT_INTERVAL=8
  124. [i18n]
  125. 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,mn-MN
  126. 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,Монгол