sudovanilla-ark/forgejo/conf/app.ini

237 lines
7.4 KiB
INI

# Some information is redacted for security purposes.
# Where an email would usually be is set as "REDACTED_TO_PREVENT_SPAM",
# to stop spam from appearing in my inbox, from bad actors scraping
# SudoVanilla Ark for emails. Which has happened before, even from
# the one hell of a damn scam email I've ever seen...sent to a MinPluto email...
# Which is interesting, since the MinPluto's domain emails were never used.
# It's how I know they scrapped SudoVanilla Ark, because it's the only place where
# a MinPluto email was publically listed.
APP_NAME = SudoVanilla Ark
APP_SLOGAN = The Heart of SudoVanilla
RUN_MODE = prod
RUN_USER = git
WORK_PATH = /data/gitea
[server]
APP_DATA_PATH = /data/gitea
DOMAIN = localhost
SSH_DOMAIN = ark.sudovanilla.org
HTTP_PORT = 3000
ROOT_URL = https://ark.sudovanilla.org
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
LFS_START_SERVER = true
LFS_JWT_SECRET = REDACTED
OFFLINE_MODE = true
ENABLE_GZIP = true
[database]
PATH = /data/gitea/gitea.db
DB_TYPE = postgres
HOST = ark_db:5432
NAME = ark
USER = ark
PASSWD = REDACTED
LOG_SQL = false
SCHEMA =
SSL_MODE = disable
[indexer]
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
[session]
PROVIDER_CONFIG = /data/gitea/sessions
PROVIDER = file
[picture]
AVATAR_UPLOAD_PATH = /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
ENABLE_FEDERATED_AVATAR = true
REPOSITORY_AVATAR_FALLBACK = none
[attachment]
PATH = /data/gitea/attachments
[log]
MODE = console
LEVEL = none
ROOT_PATH = /data/gitea/log
STACKTRACE_LEVEL = None
[log.console]
MODE = console
FLAGS = stdflags
PREFIX =
COLORIZE = true
[security]
INSTALL_LOCK = true
SECRET_KEY = REDACTED
REVERSE_PROXY_LIMIT = 1
REVERSE_PROXY_TRUSTED_PROXIES = *
INTERNAL_TOKEN = REDACTED
PASSWORD_HASH_ALGO = REDACTED
LOGIN_REMEMBER_DAYS = 14
COOKIE_REMEMBER_NAME = sudovanilla_ark_enabled
MIN_PASSWORD_LENGTH = 64
PASSWORD_COMPLEXITY = spec
PASSWORD_CHECK_PWN = true
[service]
ACTIVE_CODE_LIVE_MINUTES = 5
RESET_PASSWD_CODE_LIVE_MINUTES = 5
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = false
ALLOW_ONLY_EXTERNAL_REGISTRATION = true
REQUIRE_EXTERNAL_REGISTRATION_PASSWORD = true
ENABLE_BASIC_AUTHENTICATION = false
ENABLE_CAPTCHA = false
CAPTCHA_TYPE = mcaptcha
REQUIRE_CAPTCHA_FOR_LOGIN = true
REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA = false
MCAPTCHA_SECRET = "REDACTED"
MCAPTCHA_SITEKEY = "REDACTED"
MCAPTCHA_URL = "https://captcha.sudovanilla.org"
DEFAULT_KEEP_EMAIL_PRIVATE = true
DEFAULT_ORG_MEMBER_VISIBLE = true
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
SHOW_MILESTONES_DASHBOARD_PAGE = false
ENABLE_TIMETRACKING = false
DEFAULT_ENABLE_TIMETRACKING = false
DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = false
EMAIL_DOMAIN_BLOCKLIST = falixnodes.net, falix.net, regxa.com, discord.com, google.com, gmail.com, yahoo.com, outlook.com, hotmail.com, skiff.com, yaho.com, yahoo.ae, yahoo.at, yahoo.be, yahoo.ca, yahoo.ch, yahoo.cn, yahoo.co, yahoo.co.id, yahoo.co.il, yahoo.co.in, yahoo.co.jp, yahoo.co.kr, yahoo.co.nz, yahoo.co.th, yahoo.co.uk, yahoo.co.za, yahoo.com, yahoo.com.ar, yahoo.com.au, yahoo.com.br, yahoo.com.cn, yahoo.com.co, yahoo.com.hk, yahoo.com.is, yahoo.com.mx, yahoo.com.my, yahoo.com.ph, yahoo.com.ru, yahoo.com.sg, yahoo.com.tr, yahoo.com.tw, yahoo.com.vn, yahoo.cz, yahoo.de, yahoo.dk, yahoo.es, yahoo.fi, yahoo.fr, yahoo.gr, yahoo.hu, yahoo.ie, yahoo.in, yahoo.it, yahoo.jp, yahoo.net, yahoo.nl, yahoo.no, yahoo.pl, yahoo.pt, yahoo.ro, yahoo.ru, yahoo.se, gmail.co.za, gmail.com, gmail.com.au, gmail.com.br, gmail.ru, gmial.com, google.com, googlegroups.com, googlemail.com, hush.com, hushmail.com, hotmail.be, hotmail.ca, hotmail.ch, hotmail.co, hotmail.co.il, hotmail.co.jp, hotmail.co.nz, hotmail.co.uk, hotmail.co.za, hotmail.com, hotmail.com.ar, hotmail.com.au, hotmail.com.br, hotmail.com.mx, hotmail.com.tr, hotmail.de, hotmail.es, hotmail.fi, hotmail.fr, hotmail.it, hotmail.kg, hotmail.kz, hotmail.my, hotmail.nl, hotmail.ro, hotmail.roor, hotmail.ru, outlook.at, outlook.be, outlook.cl, outlook.co.id, outlook.co.il, outlook.co.nz, outlook.co.th, outlook.com, outlook.com.au, outlook.com.br, outlook.com.gr, outlook.com.pe, outlook.com.tr, outlook.com.vn, outlook.cz, outlook.de, outlook.dk, outlook.es, outlook.fr, outlook.hu, outlook.ie, outlook.in, outlook.it, outlook.jp, outlook.kr, outlook.lv, outlook.my, outlook.nl, outlook.ph, outlook.pt, outlook.sa, outlook.sg, outlook.sk, outloook.com, live.at, live.be, live.ca, live.cl, live.cn, live.co.uk, live.co.za, live.com, live.com.ar, live.com.au, live.com.mx, live.com.my, live.com.pt, live.com.sg, live.de, live.dk, live.fr, live.hk, live.ie, live.in, live.it, live.jp, live.nl, live.no, live.ru, live.se, temp-mail.com, temp-mail.de, temp-mail.org, temp-mail.ru, temp.headstrong.de, tempail.com, tempe-mail.com, tempemail.biz, tempemail.co.za, tempemail.com, tempemail.net, tempinbox.co.uk, tempinbox.com, tempmail.eu, tempmail.it, tempmail.us, tempmail2.com, tempmaildemo.com, tempmailer.com, tempmailer.de, tempomail.fr, temporarioemail.com.br, temporaryemail.net, temporaryemail.us, temporaryforwarding.com, temporaryinbox.com, temporarymailaddress.com
NO_REPLY_ADDRESS = REDACTED_TO_PREVENT_SPAM
USER_LOCATION_MAP_URL = https://openstreetmap.org/
ENABLE_USER_HEATMAP = false
[service.explore]
DISABLE_USERS_PAGE = false
[federation]
ENABLED = true
SHARE_USER_STATISTICS = false
MAX_SIZE = 96
[cron.update_checker]
ENABLED = false
[lfs]
PATH = /data/git/lfs
[mailer]
ENABLED = true
SMTP_ADDR = smtp.resend.com
SMTP_PORT = 587
FROM = "SudoVanilla Ark" <REDACTED_TO_PREVENT_SPAM>
USER = resend
PASSWD = REDACTED
SEND_AS_PLAIN_TEXT = false
[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false
[ui]
EXPLORE_PAGING_NUM = 16
ISSUE_PAGING_NUM = 16
MEMBERS_PAGING_NUM = 8
FEED_MAX_COMMIT_NUM = 32
FEED_PAGING_NUM = 32
SITEMAP_PAGING_NUM = 16
GRAPH_MAX_COMMIT_NUM = 256
CODE_COMMENT_LINES = 12
MAX_DISPLAY_FILE_SIZE = 64000000
THEMES = forgejo-auto, forgejo-light, forgejo-dark
DEFAULT_THEME = forgejo-auto
SHOW_USER_EMAIL = false
SEARCH_REPO_DESCRIPTION = false
ONLY_SHOW_RELEVANT_REPOS = false
[ui.admin]
USER_PAGING_NUM = 8
REPO_PAGING_NUM = 16
NOTICE_PAGING_NUM = 16
ORG_PAGING_NUM = 16
[ui.user]
REPO_PAGING_NUM = 16
[ui.meta]
AUTHOR = SudoVanilla Ark
KEYWORDS = git, forge, forgejo, code, ark, sudovanilla, zarro, minpluto, butterflyvu, minpluto, merge, zorn, astrojs, astro, js, docker
[ui.svg]
ENABLE_RENDER = true
[other]
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
SHOW_FOOTER_POWERED_BY = false
ENABLE_SITEMAP = false
ENABLE_FEED = false
[migrations]
MAX_ATTEMPTS = 6
RETRY_BACKOFF = 6
ALLOW_LOCALNETWORKS = true
[packages]
ENABLED = false
[mirror]
ENABLED = true
DEFAULT_INTERVAL = 168h
[repository]
ROOT = /data/git/repositories
DISABLE_STARS = true
PREFERRED_LICENSES = GPL-3.0-only
DEFAULT_REPO_UNITS = repo.code, repo.issues, repo.pulls
DISABLED_REPO_UNITS = repo.wiki, repo.ext_wiki, repo.projects, repo.actions
[repository.editor]
LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,.livemd,.mdx,.mdocs
[markdown]
FILE_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,.livemd,.mdx,.mdocs
ENABLE_MATH = false
[repository.local]
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
[repository.upload]
TEMP_PATH = /data/gitea/uploads
FILE_MAX_SIZE = 4095
MAX_FILES = 12
[repository.pull-request]
DEFAULT_MERGE_STYLE = merge
[repository.signing]
DEFAULT_TRUST_MODEL = committer
SIGNING_KEY = none
[oauth2]
JWT_SECRET = REDACTED
[actions]
ENABLED=false
[quota]
ENABLED = true
[quota.default]
TOTAL = 2G