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

93 lines
2.3 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
2022-06-05 01:02:42 +00:00
SSH_PORT = 22220
2022-05-08 22:58:43 +00:00
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
2022-10-25 23:26:39 +00:00
THEMES = auto,gitea,arc-green,gitea-blue,gitea-modern,carbonred,darkred,pitchblack,earl-grey
2022-06-05 01:01:01 +00:00
AUTHOR = RESF Git Service
DESCRIPTION = RESF Git Service for the Rocky community
2022-05-08 22:58:43 +00:00
[admin]
DISABLE_REGULAR_ORG_CREATION = true
2022-10-25 23:26:39 +00:00
[cron.sync_external_users]
ENABLED = true
RUN_AT_START = true
SCHEDULE = @midnight
UPDATE_EXISTING = true
[indexer]
REPO_INDEXER_ENABLED = true