ansible-gitea-management/templates/etc/gitea/conf/app.ini.j2
2022-10-25 16:26:39 -07:00

93 lines
2.3 KiB
Django/Jinja

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]
SSH_DOMAIN = {{ gitea_basename }}
DOMAIN = {{ gitea_basename }}
HTTP_PORT = 3000
ROOT_URL = https://{{ gitea_basename }}/
DISABLE_SSH = false
SSH_PORT = 22220
LFS_START_SERVER = true
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
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,earl-grey
AUTHOR = RESF Git Service
DESCRIPTION = RESF Git Service for the Rocky community
[admin]
DISABLE_REGULAR_ORG_CREATION = true
[cron.sync_external_users]
ENABLED = true
RUN_AT_START = true
SCHEDULE = @midnight
UPDATE_EXISTING = true
[indexer]
REPO_INDEXER_ENABLED = true