Brak opisu
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 803B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. [security]
  22. INSTALL_LOCK = true
  23. SECRET_KEY = {{ gitea_secret }}
  24. [mailer]
  25. ENABLED = true
  26. FROM = gitea@{{ domain }}
  27. MAILER_TYPE = sendmail
  28. [log]
  29. ROOT_PATH = /data/gitea/log
  30. MODE = file
  31. LEVEL = Info
  32. [log.file]
  33. LEVEL = Info
  34. LOG_ROTATE = true
  35. MAX_LINES = 1000000
  36. MAX_SIZE_SHIFT = 28
  37. DAILY_ROTATE = true
  38. MAX_DAYS = 7