fix deprecated configurations
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5bc301a2ba
commit
b68e7e49a8
|
@ -223,8 +223,8 @@ gitea_attachment_allowed_types:
|
||||||
gitea_attachment_max_filesize: 3
|
gitea_attachment_max_filesize: 3
|
||||||
gitea_attachment_max_files: 5
|
gitea_attachment_max_files: 5
|
||||||
|
|
||||||
gitea_mirror_default_interval: 8h
|
gitea_mirror_default_interval: 10h
|
||||||
gitea_mirror_min_interval: 10h
|
gitea_mirror_min_interval: 8h
|
||||||
|
|
||||||
gitea_mail_service_enabled: False
|
gitea_mail_service_enabled: False
|
||||||
gitea_mail_service_from: '"System" <systemmail@example.com>'
|
gitea_mail_service_from: '"System" <systemmail@example.com>'
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#jinja2: lstrip_blocks: True
|
#jinja2: lstrip_blocks: True
|
||||||
{{ ansible_managed | comment(decoration="; ")}}
|
{{ ansible_managed | comment(decoration="; ")}}
|
||||||
|
|
||||||
APP_NAME = Gitea: Git with a cup of tea
|
APP_NAME = Gitea: Git with a cup of tea
|
||||||
RUN_USER = {{ gitea_user }}
|
RUN_USER = {{ gitea_user }}
|
||||||
RUN_MODE = {{ gitea_run_mode }}
|
RUN_MODE = {{ gitea_run_mode }}
|
||||||
|
WORK_PATH = {{ gitea_base_dir }}
|
||||||
|
|
||||||
[repository]
|
[repository]
|
||||||
ROOT = {{ gitea_data_dir }}/repos
|
ROOT = {{ gitea_data_dir }}/repos
|
||||||
|
@ -121,10 +121,12 @@ SQLITE_TIMEOUT = 500
|
||||||
[indexer]
|
[indexer]
|
||||||
ISSUE_INDEXER_TYPE = bleve
|
ISSUE_INDEXER_TYPE = bleve
|
||||||
ISSUE_INDEXER_PATH = {{ gitea_data_dir }}/indexers/issues.bleve
|
ISSUE_INDEXER_PATH = {{ gitea_data_dir }}/indexers/issues.bleve
|
||||||
ISSUE_INDEXER_QUEUE_DIR = {{ gitea_data_dir }}/issues.queue
|
|
||||||
REPO_INDEXER_ENABLED = true
|
REPO_INDEXER_ENABLED = true
|
||||||
REPO_INDEXER_PATH = {{ gitea_data_dir }}/indexers/repos.bleve
|
REPO_INDEXER_PATH = {{ gitea_data_dir }}/indexers/repos.bleve
|
||||||
|
|
||||||
|
[queue.issue_indexer]
|
||||||
|
DATADIR = {{ gitea_data_dir }}/issues.queue
|
||||||
|
|
||||||
[admin]
|
[admin]
|
||||||
DISABLE_REGULAR_ORG_CREATION = {{ 'false' if gitea_org_creation_enabled | bool else 'true' }}
|
DISABLE_REGULAR_ORG_CREATION = {{ 'false' if gitea_org_creation_enabled | bool else 'true' }}
|
||||||
DEFAULT_EMAIL_NOTIFICATIONS = {{ gitea_default_email_notification }}
|
DEFAULT_EMAIL_NOTIFICATIONS = {{ gitea_default_email_notification }}
|
||||||
|
@ -180,7 +182,7 @@ ENABLED = true
|
||||||
SUBJECT_PREFIX = {{ gitea_mail_subject_prefix }}
|
SUBJECT_PREFIX = {{ gitea_mail_subject_prefix }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
FROM = {{ gitea_mail_service_from }}
|
FROM = {{ gitea_mail_service_from }}
|
||||||
MAILER_TYPE = sendmail
|
PROTOCOL = sendmail
|
||||||
SENDMAIL_PATH = /usr/sbin/sendmail
|
SENDMAIL_PATH = /usr/sbin/sendmail
|
||||||
{% else %}
|
{% else %}
|
||||||
[mailer]
|
[mailer]
|
||||||
|
@ -189,7 +191,7 @@ ENABLED = false
|
||||||
|
|
||||||
[session]
|
[session]
|
||||||
PROVIDER = {{ gitea_session_provider }}
|
PROVIDER = {{ gitea_session_provider }}
|
||||||
PROVIDER_CONFIG = "{{ gitea_session_provider_config }}"
|
PROVIDER_CONFIG = {{ gitea_session_provider_config }}
|
||||||
COOKIE_NAME = {{ gitea_session_cookie_name }}
|
COOKIE_NAME = {{ gitea_session_cookie_name }}
|
||||||
COOKIE_SECURE = {{ gitea_session_cookie_secure | bool | lower }}
|
COOKIE_SECURE = {{ gitea_session_cookie_secure | bool | lower }}
|
||||||
ENABLE_SET_COOKIE = {{ gitea_session_enable_set_cookie | bool | lower }}
|
ENABLE_SET_COOKIE = {{ gitea_session_enable_set_cookie | bool | lower }}
|
||||||
|
@ -221,12 +223,11 @@ MODE = file
|
||||||
REDIRECT_MACARON_LOG = true
|
REDIRECT_MACARON_LOG = true
|
||||||
MACARON = file
|
MACARON = file
|
||||||
ROUTER_LOG_LEVEL = Info
|
ROUTER_LOG_LEVEL = Info
|
||||||
ROUTER = file
|
logger.router.MODE = file
|
||||||
ENABLE_ACCESS_LOG = true
|
|
||||||
{% raw %}
|
{% raw %}
|
||||||
ACCESS_LOG_TEMPLATE = {{.Ctx.RemoteAddr}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.RequestURI}} {{.Ctx.Req.Proto}}" {{.ResponseWriter.Status}} {{.ResponseWriter.Size}} "{{.Ctx.Req.Referer}}\" \"{{.Ctx.Req.UserAgent}}"
|
ACCESS_LOG_TEMPLATE = {{.Ctx.RemoteAddr}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.RequestURI}} {{.Ctx.Req.Proto}}" {{.ResponseWriter.Status}} {{.ResponseWriter.Size}} "{{.Ctx.Req.Referer}}\" \"{{.Ctx.Req.UserAgent}}"
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
ACCESS = file
|
logger.access.MODE = file
|
||||||
LEVEL = {{ gitea_log_level }}
|
LEVEL = {{ gitea_log_level }}
|
||||||
STACKTRACE_LEVEL = None
|
STACKTRACE_LEVEL = None
|
||||||
|
|
||||||
|
@ -304,7 +305,7 @@ SHOW_FOOTER_TEMPLATE_LOAD_TIME = {{ gitea_footer_show_template_load_time | bool
|
||||||
[markup.asciidoc]
|
[markup.asciidoc]
|
||||||
ENABLED = false
|
ENABLED = false
|
||||||
FILE_EXTENSIONS = .adoc,.asciidoc
|
FILE_EXTENSIONS = .adoc,.asciidoc
|
||||||
RENDER_COMMAND = "asciidoc --out-file=- -"
|
RENDER_COMMAND = asciidoc --out-file=- -
|
||||||
IS_INPUT_FILE = false
|
IS_INPUT_FILE = false
|
||||||
|
|
||||||
[metrics]
|
[metrics]
|
||||||
|
|
Loading…
Reference in New Issue