141 lines
3.2 KiB
INI
141 lines
3.2 KiB
INI
APP_NAME = GitCom: Git with a cup of Com
|
|
RUN_USER = git
|
|
RUN_MODE = prod
|
|
|
|
[oauth2]
|
|
JWT_SECRET = $JWT
|
|
|
|
[security]
|
|
INTERNAL_TOKEN = $TOKEN
|
|
INSTALL_LOCK = true
|
|
SECRET_KEY = $KEY
|
|
|
|
[server]
|
|
LOCAL_ROOT_URL = http://127.0.0.2:3501/
|
|
SSH_DOMAIN = git.com.de
|
|
DOMAIN = git.com.de
|
|
HTTP_PORT = 3501
|
|
ROOT_URL = https://git.com.de/
|
|
DISABLE_SSH = false
|
|
SSH_PORT = 28
|
|
LFS_START_SERVER = true
|
|
LFS_CONTENT_PATH = /var/lib/gitea/data/lfs
|
|
LFS_JWT_SECRET = $LFSJWT
|
|
OFFLINE_MODE = false
|
|
START_SSH_SERVER = false
|
|
OFFLINE_MODE = true
|
|
|
|
[database]
|
|
DB_TYPE = mysql
|
|
HOST = 127.0.0.1:3306
|
|
NAME = $DB_TYPE
|
|
USER = $DBUSER
|
|
PASSWD = $DBPASS
|
|
SCHEMA =
|
|
SSL_MODE = disable
|
|
CHARSET = utf8
|
|
PATH = /var/lib/gitea/data/gitea.db
|
|
|
|
[queue]
|
|
TYPE = redis
|
|
CONN_STR = redis://127.0.0.1:6378/0
|
|
|
|
[repository]
|
|
ROOT = /var/lib/git/gitea-repositories
|
|
|
|
[mailer]
|
|
ENABLED = true
|
|
FROM = GitSystem@git.com.de
|
|
MAILER_TYPE = smtp
|
|
HOST = $SMTPHOST
|
|
IS_TLS_ENABLED = true
|
|
USER = $SMTPUSER
|
|
PASSWD = $SMTPPASS
|
|
|
|
[cache]
|
|
ENABLED = true
|
|
ADAPTER = redis
|
|
HOST = redis://127.0.0.1:6378/1?pool_size=100&idle_timeout=180s
|
|
|
|
[service]
|
|
REGISTER_EMAIL_CONFIRM = false
|
|
ENABLE_NOTIFY_MAIL = true
|
|
DISABLE_REGISTRATION = false
|
|
ALLOW_ONLY_EXTERNAL_REGISTRATION = true
|
|
ENABLE_CAPTCHA = false
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
DEFAULT_KEEP_EMAIL_PRIVATE = false
|
|
DEFAULT_ALLOW_CREATE_ORGANIZATION = false
|
|
DEFAULT_ENABLE_TIMETRACKING = true
|
|
NO_REPLY_ADDRESS = noreply.git.com.de
|
|
|
|
[picture]
|
|
DISABLE_GRAVATAR = true
|
|
ENABLE_FEDERATED_AVATAR = false
|
|
|
|
[openid]
|
|
ENABLE_OPENID_SIGNIN = false
|
|
ENABLE_OPENID_SIGNUP = false
|
|
WHITELISTED_URIS = https:\/\/auth.syscid.com\/*
|
|
|
|
[session]
|
|
PROVIDER = redis
|
|
PROVIDER_CONFIG = redis://127.0.0.1:6378/2?pool_size=100&idle_timeout=180s
|
|
COOKIE_NAME = libertacasa_git
|
|
|
|
[log]
|
|
MODE = file
|
|
LEVEL = warn
|
|
ROOT_PATH = /var/log/gitea/
|
|
|
|
[metrics]
|
|
ENABLED=true
|
|
TOKEN=$METRICSTOKEN
|
|
|
|
[markup.asciidoc]
|
|
ENABLED = true
|
|
FILE_EXTENSIONS = .adoc,.asciidoc
|
|
RENDER_COMMAND = "asciidoctor -s -a showtitle --out-file=- -"
|
|
; Input is not a standard input but a file
|
|
IS_INPUT_FILE = false
|
|
|
|
[markup.jupyter]
|
|
ENABLED = true
|
|
FILE_EXTENSIONS = .ipynb
|
|
RENDER_COMMAND = "jupyter nbconvert --stdin --stdout --to html --template basic"
|
|
IS_INPUT_FILE = false
|
|
|
|
[markup.restructuredtext]
|
|
ENABLED = true
|
|
FILE_EXTENSIONS = .rst
|
|
RENDER_COMMAND = "timeout 30s pandoc +RTS -M512M -RTS -f rst"
|
|
IS_INPUT_FILE = false
|
|
|
|
[markup.sanitizer.TeX]
|
|
; Pandoc renders TeX segments as <span>s with the "math" class, optionally
|
|
; with "inline" or "display" classes depending on context.
|
|
ELEMENT = span
|
|
ALLOW_ATTR = class
|
|
REGEXP = ^\s*((math(\s+|$)|inline(\s+|$)|display(\s+|$)))+
|
|
|
|
[markup.markdown]
|
|
ENABLED = true
|
|
FILE_EXTENSIONS = .md,.markdown
|
|
RENDER_COMMAND = pandoc -f markdown -t html --katex
|
|
|
|
[markup.docx]
|
|
ENABLED = true
|
|
FILE_EXTENSIONS = .docx
|
|
RENDER_COMMAND = "pandoc --from docx --to html --self-contained --template /path/to/basic.html"
|
|
|
|
[markup.sanitizer.docx.img]
|
|
ALLOW_DATA_URI_IMAGES = true
|
|
|
|
[markup.jupyter]
|
|
ENABLED = true
|
|
FILE_EXTENSIONS = .ipynb
|
|
RENDER_COMMAND = "jupyter-nbconvert --stdin --stdout --to html --template basic"
|
|
|
|
[markup.sanitizer.jupyter.img]
|
|
ALLOW_DATA_URI_IMAGES = true
|