gitea/app.ini

100 lines
1.9 KiB
INI
Raw Normal View History

2023-11-28 16:03:08 +00:00
APP_NAME = SuperNETs Git
RUN_USER = git
WORK_PATH = /var/lib/gitea
RUN_MODE = prod
[database]
DB_TYPE = postgres
HOST = 127.0.0.1:REDACTED
NAME = bart
USER = bart
PASSWD = simps0nsfan420
SSL_MODE = disable
PATH = /var/lib/gitea/data/gitea.db
LOG_SQL = false
[repository]
ROOT = /var/lib/gitea/data/gitea-repositories
MAX_CREATION_LIMIT = 100
DISABLE_STARS = true
2024-02-06 20:26:38 +00:00
ENABLE_PUSH_CREATE_USER = true
ENABLE_PUSH_CREATE_ORG = true
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true
2023-11-28 16:03:08 +00:00
[repository.signing]
DEFAULT_TRUST_MODEL = committer
2024-02-20 02:41:58 +00:00
[repository.upload]
MAX_FILES=24
2023-11-28 16:03:08 +00:00
[server]
SSH_DOMAIN = git.supernets.org
DOMAIN = git.supernets.org
HTTP_PORT = REDACTED # Reverse proxy for HTTPS
ROOT_URL = https://git.supernets.org/
APP_DATA_PATH = /var/lib/gitea/data
DISABLE_SSH = false
2024-01-24 06:59:52 +00:00
START_SSH_SERVER = true
2023-11-28 16:03:08 +00:00
SSH_PORT = 2023
LFS_START_SERVER = true
LFS_JWT_SECRET = REDACTED
OFFLINE_MODE = false
[lfs]
PATH = /var/lib/gitea/data/lfs
[mailer]
ENABLED = false
[service]
REGISTER_MANUAL_CONFIRM = true
DISABLE_REGISTRATION = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = true
NO_REPLY_ADDRESS = blackhole.supernets.org
[openid]
ENABLE_OPENID_SIGNIN = false
ENABLE_OPENID_SIGNUP = false
[cron.update_checker]
ENABLED = false
[session]
PROVIDER = file
[log]
MODE = console
LEVEL = info
ROOT_PATH = /var/lib/gitea/log
[security]
INSTALL_LOCK = true
INTERNAL_TOKEN = REDACTED # YEAH YOU FUCKING THOUGHT DUDE...
PASSWORD_HASH_ALGO = pbkdf2
LOGIN_REMEMBER_DAYS = 7
COOKIE_USERNAME = supergit_who
COOKIE_REMEMBER_NAME = supergit_auth
MIN_PASSWORD_LENGTH = 10
PASSWORD_COMPLEXITY = lower,upper,digit,spec
[oauth2]
JWT_SECRET = REDACTED
[U2F]
APP_ID = https://git.supernets.org
TRUSTED_FACETS = https://git.supernets.org
[ui]
SHOW_USER_EMAIL = false
DEFAULT_THEME = github
THEMES = github
MAX_DISPLAY_FILE_SIZE=52428800 # 50mb
2024-02-05 15:51:39 +00:00
[attachment]
MAX_SIZE = 4096
2024-02-20 02:41:58 +00:00
[other]
SHOW_FOOTER_VERSION: false
SHOW_FOOTER_TEMPLATE_LOAD_TIME: false