custom.ini 819 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. APP_NAME = Testing
  2. RUN_MODE = test
  3. [server]
  4. ROOT_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_PAGE = explore
  10. [repository]
  11. ROOT = /tmp/gogs-repositories
  12. [repository.upload]
  13. TEMP_PATH = /tmp/uploads
  14. [database]
  15. DB_TYPE = sqlite
  16. PASSWD = 12345678
  17. PATH = /tmp/gogs.db
  18. [security]
  19. REVERSE_PROXY_AUTHENTICATION_USER=X-FORWARDED-FOR
  20. [email]
  21. ENABLED = true
  22. PASSWD = 87654321
  23. [auth]
  24. ACTIVE_CODE_LIVE_MINUTES = 10
  25. RESET_PASSWD_CODE_LIVE_MINUTES = 10
  26. REGISTER_EMAIL_CONFIRM = true
  27. ENABLE_CAPTCHA = true
  28. ENABLE_NOTIFY_MAIL = true
  29. [session]
  30. GC_INTERVAL_TIME = 10
  31. SESSION_LIFE_TIME = 10
  32. [attachment]
  33. PATH = /tmp/attachments
  34. [picture]
  35. AVATAR_UPLOAD_PATH = /tmp/avatars
  36. REPOSITORY_AVATAR_UPLOAD_PATH = /tmp/repo-avatars