custom.ini 842 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. BRAND_NAME = Testing
  2. RUN_MODE = test
  3. [server]
  4. EXTERNAL_URL = http://localhost:3080/
  5. APP_DATA_PATH = /tmp/data
  6. SSH_ROOT_PATH = /tmp
  7. SSH_KEY_TEST_PATH = /tmp/ssh-key-test
  8. MINIMUM_KEY_SIZE_CHECK = true
  9. LANDING_URL = /explore
  10. [repository]
  11. ROOT = /tmp/gogs-repositories
  12. [repository.upload]
  13. TEMP_PATH = /tmp/uploads
  14. [database]
  15. TYPE = sqlite
  16. PASSWORD = 12345678
  17. PATH = /tmp/gogs.db
  18. [email]
  19. ENABLED = true
  20. PASSWORD = 87654321
  21. [auth]
  22. ACTIVATE_CODE_LIVES = 10
  23. RESET_PASSWORD_CODE_LIVES = 10
  24. REQUIRE_EMAIL_CONFIRMATION = true
  25. ENABLE_CAPTCHA = true
  26. ENABLE_NOTIFY_MAIL = true
  27. REVERSE_PROXY_AUTHENTICATION_HEADER=X-FORWARDED-FOR
  28. [user]
  29. ENABLE_EMAIL_NOTIFICATION = true
  30. [session]
  31. GC_INTERVAL = 10
  32. MAX_LIFE_TIME = 10
  33. [attachment]
  34. PATH = /tmp/attachments
  35. [picture]
  36. AVATAR_UPLOAD_PATH = /tmp/avatars
  37. REPOSITORY_AVATAR_UPLOAD_PATH = /tmp/repo-avatars