ansible-gitea-management/templates/etc/gitea/conf/app.ini.j2

83 lines
2.1 KiB
Plaintext
Raw Normal View History

2022-05-08 22:58:43 +00:00
APP_NAME = Rocky Enterprise Software Foundation Git Service
RUN_USER = git
RUN_MODE = prod
[database]
DB_TYPE = postgres
HOST = {{ gitea_database_host }}
NAME = {{ gitea_database_name }}
USER = {{ gitea_database_user }}
PASSWD = {{ gitea_database_pass }}
SCHEMA =
SSL_MODE = disable
[repository]
ROOT = /var/lib/gitea/data/repositories
DEFAULT_PRIVATE = public
DEFAULT_PUSH_CREATE_PRIVATE = false
ENABLE_PUSH_CREATE_USER = true
ENABLE_PUSH_CREATE_ORG = true
DEFAULT_BRANCH = main
[server]
2022-06-04 03:07:12 +00:00
SSH_DOMAIN = {{ gitea_basename }}
DOMAIN = {{ gitea_basename }}
2022-05-08 22:58:43 +00:00
HTTP_PORT = 3000
2022-06-04 03:07:12 +00:00
ROOT_URL = https://{{ gitea_basename }}/
2022-05-08 22:58:43 +00:00
DISABLE_SSH = false
SSH_PORT = 22
LFS_START_SERVER = true
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
2022-06-04 03:07:12 +00:00
LFS_JWT_SECRET = {{ gitea_lfs_secret | default('lkmasdfoK351UYNASLDS71lANXLAanlpa.ajsdlJLKN') }}
2022-05-08 22:58:43 +00:00
OFFLINE_MODE = false
LANDING_PAGE = explore
;PROTOCOL = unix
PROTOCOL = http
;HTTP_ADDR = /run/gitea/gitea.socket
APP_DATA_PATH = /var/lib/gitea/data
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
[mailer]
ENABLED = false
FROM = noreply@resf.org
MAILER_TYPE = sendmail
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = true
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply@resf.org
DEFAULT_ORG_MEMBER_VISIBLE = true
[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = true
[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false
[session]
PROVIDER = postgres
COOKIE_SECURE = true
COOKIE_NAME = RESF_cookie_TOKEN
[log]
MODE = console
LEVEL = info
ROOT_PATH = /var/lib/gitea/log
ROUTER = console
[ui]
DEFAULT_THEME = gitea-blue
THEMES = auto,gitea,arc-green,gitea-blue,gitea-modern,carbonred,darkred,pitchblack
[admin]
DISABLE_REGULAR_ORG_CREATION = true