APP_NAME = {{ gitea_app_name }} RUN_USER = {{ gitea_user }} RUN_MODE= {{ gitea_run_mode }} [repository] ROOT = {{ gitea_repository_data }} [server] PROTOCOL = {{ gitea_server_protocol }} HTTP_ADDR = {{ gitea_http_addr }} LANDING_PAGE = {{ gitea_landing_page }} LFS_START_SERVER = {{ gitea_start_lfs }} LFS_CONTENT_PATH = {{ gitea_lfs_content_path }} LFS_HTTP_AUTH_EXPIRY = {{ gitea_lfs_http_auth_expiry }} SSH_DOMAIN = localhost DOMAIN = localhost HTTP_PORT = {{ gitea_http_port }} ROOT_URL = {{ gitea_root_url }} DISABLE_SSH = false SSH_PORT = 22 OFFLINE_MODE = false [database] DB_TYPE = {{ gitea_db }} HOST = {{ gitea_db_host }}:{{ gitea_db_port }} NAME = {{ gitea_db_name }} USER = {{ gitea_db_user }} PASSWD = {{ gitea_db_pwd }} SSL_MODE = {{ gitea_db_ssl_mode }} [security] INSTALL_LOCK = {{ gitea_install_lock }} [service] DISABLE_REGISTRATION = {{ gitea_disable_registration }} NO_REPLY_ADDRESS = {{ gitea_mail_from }} [service.explore] REQUIRE_SIGNIN_VIEW = {{ gitea_require_signin_view }} DISABLE_USERS_PAGE = {{ gitea_users_page_enabled }} {% if gitea_mailer_enabled %} [mailer] ENABLED = true FROM = {{ gitea_mail_from }} MAILER_TYPE = {{ gitea_mailer_type }} SENDMAIL_PATH = {{ gitea_sendmail_path }} {% endif %} [cache] ADAPTER = {{ gitea_cache_provider }} HOST = {{ gitea_cache_host }} [session] PROVIDER = {{ gitea_session_provider }} PROVIDER_CONFIG = {{ gitea_session_config }} {% if gitea_prometheus_metrics %} [metrics] ENABLED = true TOKEN = '{{ gitea_prometheus_bearer_token }}' {% endif %} {% if gitea_install_viewer_addons %} {% if gitea_markup_asciidoc_enabled %} [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 {%endif %} {% if gitea_markup_jupyter_enabled %} [markup.jupyter] ENABLED = true FILE_EXTENSIONS = .ipynb RENDER_COMMAND = "jupyter nbconvert --stdout --to html --template basic " IS_INPUT_FILE = true {%endif %} {% if gitea_markup_restructuredtext_enabled %} [markup.restructuredtext] ENABLED = true FILE_EXTENSIONS = .rst RENDER_COMMAND = "timeout 30s pandoc +RTS -M512M -RTS -f rst" IS_INPUT_FILE = false {%endif %} {% if gitea_markup_sanitizer_tex_enabled %} [markup.sanitizer.TeX] ; Pandoc renders TeX segments as 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+|$)))+ {%endif %} {% if gitea_markup_markdown_enabled %} [markup.markdown] ENABLED = true FILE_EXTENSIONS = .md,.markdown RENDER_COMMAND = pandoc -f markdown -t html --katex {%endif %} {%endif %} [other] SHOW_FOOTER_VERSION = false SHOW_FOOTER_TEMPLATE_LOAD_TIME = false [log] LEVEL = {{ gitea_log_level }}