No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_gitea_app_ini.j2 868B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ; sovereign gitea config file
  2. ; see https://github.com/go-gitea/gitea/blob/master/custom/conf/app.ini.sample
  3. APP_NAME = {{ domain }} Gitea
  4. RUN_MODE = prod
  5. [repository]
  6. ROOT = /data/gitea/repos
  7. [ui]
  8. DEFAULT_THEME = arc-green
  9. [server]
  10. PROTOCOL = http
  11. DOMAIN = {{ gitea_domain }}
  12. HTTP_ADDR = 127.0.0.1
  13. HTTP_PORT = 3000
  14. [database]
  15. DB_TYPE = postgres
  16. HOST = 127.0.0.1:5432
  17. NAME = {{ gitea_db_database }}
  18. USER = {{ gitea_db_username }}
  19. PASSWD = `{{ gitea_db_password }}`
  20. SSL_MODE = disable
  21. [service]
  22. DISABLE_REGISTRATION = true
  23. ENABLE_NOTIFY_MAIL = true
  24. [security]
  25. INSTALL_LOCK = true
  26. SECRET_KEY = {{ gitea_secret }}
  27. [mailer]
  28. ENABLED = true
  29. FROM = gitea@{{ domain }}
  30. MAILER_TYPE = sendmail
  31. [log]
  32. ROOT_PATH = /data/gitea/log
  33. MODE = file
  34. LEVEL = Info
  35. [log.file]
  36. LEVEL = Info
  37. LOG_ROTATE = true
  38. MAX_LINES = 1000000
  39. MAX_SIZE_SHIFT = 28
  40. DAILY_ROTATE = true
  41. MAX_DAYS = 7