commit 682c096764
Author: Robert Kaussow <mail@geeklabor.de> Date: Sat Feb 15 22:40:59 2020 +0100 excape golang templates
This commit is contained in:
parent
782552bf79
commit
0c2996e5ae
747
index.md
747
index.md
|
@ -9,8 +9,14 @@ Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community manage
|
|||
|
||||
* [Default Variables](#default-variables)
|
||||
* [gitea_access_token_expiration_time](#gitea-access-token-expiration-time)
|
||||
* [gitea_api_default_git_trees_per_page](#gitea-api-default-git-trees-per-page)
|
||||
* [gitea_api_default_paging_num](#gitea-api-default-paging-num)
|
||||
* [gitea_api_swagger_enabled](#gitea-api-swagger-enabled)
|
||||
* [gitea_attachment_allowed_types](#gitea-attachment-allowed-types)
|
||||
* [gitea_attachment_enabled](#gitea-attachment-enabled)
|
||||
* [gitea_attachment_max_files](#gitea-attachment-max-files)
|
||||
* [gitea_attachment_max_filesize](#gitea-attachment-max-filesize)
|
||||
* [gitea_avatar_federation_enabled](#gitea-avatar-federation-enabled)
|
||||
* [gitea_base_dir](#gitea-base-dir)
|
||||
* [gitea_bin_dir](#gitea-bin-dir)
|
||||
* [gitea_bind_ip](#gitea-bind-ip)
|
||||
|
@ -24,35 +30,101 @@ Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community manage
|
|||
* [gitea_db_ssl_mode](#gitea-db-ssl-mode)
|
||||
* [gitea_db_type](#gitea-db-type)
|
||||
* [gitea_db_user](#gitea-db-user)
|
||||
* [gitea_disable_registration](#gitea-disable-registration)
|
||||
* [gitea_default_dependencies_enabled](#gitea-default-dependencies-enabled)
|
||||
* [gitea_default_email_notification](#gitea-default-email-notification)
|
||||
* [gitea_default_keep_email_private](#gitea-default-keep-email-private)
|
||||
* [gitea_default_org_allow_creation](#gitea-default-org-allow-creation)
|
||||
* [gitea_default_org_member_visible](#gitea-default-org-member-visible)
|
||||
* [gitea_default_org_visible](#gitea-default-org-visible)
|
||||
* [gitea_default_timetracking_enabled](#gitea-default-timetracking-enabled)
|
||||
* [gitea_extra_groups](#gitea-extra-groups)
|
||||
* [gitea_file_log_level](#gitea-file-log-level)
|
||||
* [gitea_global_log_dir](#gitea-global-log-dir)
|
||||
* [gitea_global_log_level](#gitea-global-log-level)
|
||||
* [gitea_git_hooks_enabled](#gitea-git-hooks-enabled)
|
||||
* [gitea_gravatar_enabled](#gitea-gravatar-enabled)
|
||||
* [gitea_gravatar_source](#gitea-gravatar-source)
|
||||
* [gitea_group](#gitea-group)
|
||||
* [gitea_install_lock](#gitea-install-lock)
|
||||
* [gitea_invalidate_refresh_tokens](#gitea-invalidate-refresh-tokens)
|
||||
* [gitea_jwt_secret](#gitea-jwt-secret)
|
||||
* [gitea_landing_page](#gitea-landing-page)
|
||||
* [gitea_lfs_enabled](#gitea-lfs-enabled)
|
||||
* [gitea_lfs_jwt_secret](#gitea-lfs-jwt-secret)
|
||||
* [gitea_listen_address](#gitea-listen-address)
|
||||
* [gitea_log_dir](#gitea-log-dir)
|
||||
* [gitea_log_level](#gitea-log-level)
|
||||
* [gitea_login_remember_days](#gitea-login-remember-days)
|
||||
* [gitea_mail_service_enabled](#gitea-mail-service-enabled)
|
||||
* [gitea_mail_service_from](#gitea-mail-service-from)
|
||||
* [gitea_mail_subject_prefix](#gitea-mail-subject-prefix)
|
||||
* [gitea_markdown_custom_url_scheme](#gitea-markdown-custom-url-scheme)
|
||||
* [gitea_markdown_file_ext](#gitea-markdown-file-ext)
|
||||
* [gitea_markdown_hard_linebreak_enabled](#gitea-markdown-hard-linebreak-enabled)
|
||||
* [gitea_metrics_enabled](#gitea-metrics-enabled)
|
||||
* [gitea_metrics_token](#gitea-metrics-token)
|
||||
* [gitea_minimum_keysize](#gitea-minimum-keysize)
|
||||
* [gitea_minimum_keysize_check](#gitea-minimum-keysize-check)
|
||||
* [gitea_mirror_default_interval](#gitea-mirror-default-interval)
|
||||
* [gitea_mirror_min_interval](#gitea-mirror-min-interval)
|
||||
* [gitea_no_reply_address](#gitea-no-reply-address)
|
||||
* [gitea_oauth_provider_enabled](#gitea-oauth-provider-enabled)
|
||||
* [gitea_offline_mode](#gitea-offline-mode)
|
||||
* [gitea_org_creation_enabled](#gitea-org-creation-enabled)
|
||||
* [gitea_packages](#gitea-packages)
|
||||
* [gitea_password_complexity](#gitea-password-complexity)
|
||||
* [gitea_password_min_lenght](#gitea-password-min-lenght)
|
||||
* [gitea_refresh_token_expiration_time](#gitea-refresh-token-expiration-time)
|
||||
* [gitea_registration_allow_external_only](#gitea-registration-allow-external-only)
|
||||
* [gitea_registration_button_enabled](#gitea-registration-button-enabled)
|
||||
* [gitea_registration_email_confirm](#gitea-registration-email-confirm)
|
||||
* [gitea_registration_email_domain_whitelist](#gitea-registration-email-domain-whitelist)
|
||||
* [gitea_registration_enabled](#gitea-registration-enabled)
|
||||
* [gitea_repository_access_control_allow_origin](#gitea-repository-access-control-allow-origin)
|
||||
* [gitea_repository_auto_watch_on_change](#gitea-repository-auto-watch-on-change)
|
||||
* [gitea_repository_auto_watch_on_creation](#gitea-repository-auto-watch-on-creation)
|
||||
* [gitea_repository_creation_limit](#gitea-repository-creation-limit)
|
||||
* [gitea_repository_default_license](#gitea-repository-default-license)
|
||||
* [gitea_repository_default_private](#gitea-repository-default-private)
|
||||
* [gitea_repository_editor_line_wrap_ext](#gitea-repository-editor-line-wrap-ext)
|
||||
* [gitea_repository_force_private](#gitea-repository-force-private)
|
||||
* [gitea_repository_http_enabled](#gitea-repository-http-enabled)
|
||||
* [gitea_repository_issue_lock_reason](#gitea-repository-issue-lock-reason)
|
||||
* [gitea_repository_pr_close_keyword](#gitea-repository-pr-close-keyword)
|
||||
* [gitea_repository_pr_reopen_keyword](#gitea-repository-pr-reopen-keyword)
|
||||
* [gitea_repository_pr_wip_prefix](#gitea-repository-pr-wip-prefix)
|
||||
* [gitea_repository_push_create_org_enabled](#gitea-repository-push-create-org-enabled)
|
||||
* [gitea_repository_push_create_user_enabled](#gitea-repository-push-create-user-enabled)
|
||||
* [gitea_repository_upload_allowed_types](#gitea-repository-upload-allowed-types)
|
||||
* [gitea_repository_upload_enabled](#gitea-repository-upload-enabled)
|
||||
* [gitea_repository_upload_max_files](#gitea-repository-upload-max-files)
|
||||
* [gitea_repository_upload_max_filesize](#gitea-repository-upload-max-filesize)
|
||||
* [gitea_repository_use_compat_ssh_uri](#gitea-repository-use-compat-ssh-uri)
|
||||
* [gitea_run_mode](#gitea-run-mode)
|
||||
* [gitea_secret](#gitea-secret)
|
||||
* [gitea_selinux_fcontext](#gitea-selinux-fcontext)
|
||||
* [gitea_selinux_restorecon](#gitea-selinux-restorecon)
|
||||
* [gitea_show_footer_branding](#gitea-show-footer-branding)
|
||||
* [gitea_show_footer_template_load_time](#gitea-show-footer-template-load-time)
|
||||
* [gitea_show_footer_version](#gitea-show-footer-version)
|
||||
* [gitea_ssh_enabled](#gitea-ssh-enabled)
|
||||
* [gitea_tls_cert_path](#gitea-tls-cert-path)
|
||||
* [gitea_tls_cert_source](#gitea-tls-cert-source)
|
||||
* [gitea_tls_enabled](#gitea-tls-enabled)
|
||||
* [gitea_tls_key_path](#gitea-tls-key-path)
|
||||
* [gitea_tls_key_source](#gitea-tls-key-source)
|
||||
* [gitea_token](#gitea-token)
|
||||
* [gitea_ui_admin_notice_paging_num](#gitea-ui-admin-notice-paging-num)
|
||||
* [gitea_ui_admin_org_paging_num](#gitea-ui-admin-org-paging-num)
|
||||
* [gitea_ui_admin_repo_paging_num](#gitea-ui-admin-repo-paging-num)
|
||||
* [gitea_ui_admin_user_paging_num](#gitea-ui-admin-user-paging-num)
|
||||
* [gitea_ui_code_comment_lines](#gitea-ui-code-comment-lines)
|
||||
* [gitea_ui_explore_paging_num](#gitea-ui-explore-paging-num)
|
||||
* [gitea_ui_feed_commit_num](#gitea-ui-feed-commit-num)
|
||||
* [gitea_ui_graph_commit_num](#gitea-ui-graph-commit-num)
|
||||
* [gitea_ui_issue_paging_num](#gitea-ui-issue-paging-num)
|
||||
* [gitea_ui_reaction](#gitea-ui-reaction)
|
||||
* [gitea_ui_search_repo_description](#gitea-ui-search-repo-description)
|
||||
* [gitea_ui_show_full_name](#gitea-ui-show-full-name)
|
||||
* [gitea_ui_show_user_email](#gitea-ui-show-user-email)
|
||||
* [gitea_ui_user_repo_paging_num](#gitea-ui-user-repo-paging-num)
|
||||
* [gitea_user](#gitea-user)
|
||||
* [gitea_user_home](#gitea-user-home)
|
||||
* [gitea_version](#gitea-version)
|
||||
|
@ -70,6 +142,50 @@ Setup a [Gitea](https://gitea.io/en-us/) git server. Gitea is a community manage
|
|||
gitea_access_token_expiration_time: 3600
|
||||
```
|
||||
|
||||
### gitea_api_default_git_trees_per_page
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_api_default_git_trees_per_page: 1000
|
||||
```
|
||||
|
||||
### gitea_api_default_paging_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_api_default_paging_num: 30
|
||||
```
|
||||
|
||||
### gitea_api_swagger_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_api_swagger_enabled: true
|
||||
```
|
||||
|
||||
### gitea_attachment_allowed_types
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_attachment_allowed_types:
|
||||
- image/jpeg
|
||||
- image/png
|
||||
- application/zip
|
||||
- application/gzip
|
||||
```
|
||||
|
||||
### gitea_attachment_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_attachment_enabled: true
|
||||
```
|
||||
|
||||
### gitea_attachment_max_files
|
||||
|
||||
#### Default value
|
||||
|
@ -86,6 +202,14 @@ gitea_attachment_max_files: 5
|
|||
gitea_attachment_max_filesize: 3
|
||||
```
|
||||
|
||||
### gitea_avatar_federation_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_avatar_federation_enabled: false
|
||||
```
|
||||
|
||||
### gitea_base_dir
|
||||
|
||||
#### Default value
|
||||
|
@ -190,12 +314,62 @@ gitea_db_type: pgsql
|
|||
gitea_db_user: pggitea
|
||||
```
|
||||
|
||||
### gitea_disable_registration
|
||||
### gitea_default_dependencies_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_disable_registration: 'true'
|
||||
gitea_default_dependencies_enabled: true
|
||||
```
|
||||
|
||||
### gitea_default_email_notification
|
||||
|
||||
Default configuration for email notifications for users (user configurable). Options: `enabled`, `onmention`, `disabled`.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_default_email_notification: enabled
|
||||
```
|
||||
|
||||
### gitea_default_keep_email_private
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_default_keep_email_private: true
|
||||
```
|
||||
|
||||
### gitea_default_org_allow_creation
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_default_org_allow_creation: true
|
||||
```
|
||||
|
||||
### gitea_default_org_member_visible
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_default_org_member_visible: false
|
||||
```
|
||||
|
||||
### gitea_default_org_visible
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_default_org_visible: public
|
||||
```
|
||||
|
||||
### gitea_default_timetracking_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_default_timetracking_enabled: true
|
||||
```
|
||||
|
||||
### gitea_extra_groups
|
||||
|
@ -206,28 +380,28 @@ gitea_disable_registration: 'true'
|
|||
gitea_extra_groups: []
|
||||
```
|
||||
|
||||
### gitea_file_log_level
|
||||
### gitea_git_hooks_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_file_log_level: '{{ gitea_global_log_level }}'
|
||||
gitea_git_hooks_enabled: true
|
||||
```
|
||||
|
||||
### gitea_global_log_dir
|
||||
### gitea_gravatar_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_global_log_dir: '{{ gitea_base_dir }}/log'
|
||||
gitea_gravatar_enabled: false
|
||||
```
|
||||
|
||||
### gitea_global_log_level
|
||||
### gitea_gravatar_source
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_global_log_level: Info
|
||||
gitea_gravatar_source: gravatar
|
||||
```
|
||||
|
||||
### gitea_group
|
||||
|
@ -243,7 +417,7 @@ gitea_group: '{{ gitea_user }}'
|
|||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_install_lock: 'true'
|
||||
gitea_install_lock: true
|
||||
```
|
||||
|
||||
### gitea_invalidate_refresh_tokens
|
||||
|
@ -251,7 +425,7 @@ gitea_install_lock: 'true'
|
|||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_invalidate_refresh_tokens: 'false'
|
||||
gitea_invalidate_refresh_tokens: false
|
||||
```
|
||||
|
||||
### gitea_jwt_secret
|
||||
|
@ -270,6 +444,22 @@ gitea_jwt_secret: Bk0yK7Y9g_p56v86KaHqjSbxvNvu3SbKoOdOt2ZcXvU
|
|||
gitea_landing_page: explore
|
||||
```
|
||||
|
||||
### gitea_lfs_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_lfs_enabled: false
|
||||
```
|
||||
|
||||
### gitea_lfs_jwt_secret
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_lfs_jwt_secret: gitea_lfs_jwt_secret
|
||||
```
|
||||
|
||||
### gitea_listen_address
|
||||
|
||||
#### Default value
|
||||
|
@ -278,6 +468,30 @@ gitea_landing_page: explore
|
|||
gitea_listen_address: http://gitea.example.com
|
||||
```
|
||||
|
||||
### gitea_log_dir
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_log_dir: '{{ gitea_base_dir }}/log'
|
||||
```
|
||||
|
||||
### gitea_log_level
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_log_level: Info
|
||||
```
|
||||
|
||||
### gitea_login_remember_days
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_login_remember_days: 7
|
||||
```
|
||||
|
||||
### gitea_mail_service_enabled
|
||||
|
||||
#### Default value
|
||||
|
@ -294,12 +508,100 @@ gitea_mail_service_enabled: false
|
|||
gitea_mail_service_from: '"System" <systemmail@example.com>'
|
||||
```
|
||||
|
||||
### gitea_mail_subject_prefix
|
||||
|
||||
Prefix displayed before subject in mail.
|
||||
|
||||
### gitea_markdown_custom_url_scheme
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_markdown_custom_url_scheme: []
|
||||
```
|
||||
|
||||
### gitea_markdown_file_ext
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_markdown_file_ext:
|
||||
- .md
|
||||
- .markdown
|
||||
- .mdown
|
||||
- .mkd
|
||||
```
|
||||
|
||||
### gitea_markdown_hard_linebreak_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_markdown_hard_linebreak_enabled: false
|
||||
```
|
||||
|
||||
### gitea_metrics_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_metrics_enabled: false
|
||||
```
|
||||
|
||||
### gitea_metrics_token
|
||||
|
||||
If you want to add authorization, specify a token here.
|
||||
|
||||
### gitea_minimum_keysize
|
||||
|
||||
Define allowed algorithms and their minimum key length (use -1 to disable a type).
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_minimum_keysize:
|
||||
- name: ED25519
|
||||
size: 256
|
||||
- name: ECDSA
|
||||
size: 256
|
||||
- name: RSA
|
||||
size: 2048
|
||||
- name: DSA
|
||||
size: -1
|
||||
```
|
||||
|
||||
### gitea_minimum_keysize_check
|
||||
|
||||
Indicate whether to check minimum key size with corresponding type.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_minimum_keysize_check: false
|
||||
```
|
||||
|
||||
### gitea_mirror_default_interval
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_mirror_default_interval: 8h
|
||||
```
|
||||
|
||||
### gitea_mirror_min_interval
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_mirror_min_interval: 10h
|
||||
```
|
||||
|
||||
### gitea_no_reply_address
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_no_reply_address: noreply.example.org
|
||||
gitea_no_reply_address: noreply@example.org
|
||||
```
|
||||
|
||||
### gitea_oauth_provider_enabled
|
||||
|
@ -310,6 +612,24 @@ gitea_no_reply_address: noreply.example.org
|
|||
gitea_oauth_provider_enabled: false
|
||||
```
|
||||
|
||||
### gitea_offline_mode
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_offline_mode: false
|
||||
```
|
||||
|
||||
### gitea_org_creation_enabled
|
||||
|
||||
Allow regular (non-admin) users to create organizations.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_org_creation_enabled: true
|
||||
```
|
||||
|
||||
### gitea_packages
|
||||
|
||||
#### Default value
|
||||
|
@ -319,6 +639,28 @@ gitea_packages:
|
|||
- git
|
||||
```
|
||||
|
||||
### gitea_password_complexity
|
||||
|
||||
If left empty or no valid values are specified, the default values `lower,upper,digit,spec` will be used. Use `off` to disable checking.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_password_complexity:
|
||||
- lower
|
||||
- upper
|
||||
- digit
|
||||
- spec
|
||||
```
|
||||
|
||||
### gitea_password_min_lenght
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_password_min_lenght: 8
|
||||
```
|
||||
|
||||
### gitea_refresh_token_expiration_time
|
||||
|
||||
#### Default value
|
||||
|
@ -327,6 +669,211 @@ gitea_packages:
|
|||
gitea_refresh_token_expiration_time: 730
|
||||
```
|
||||
|
||||
### gitea_registration_allow_external_only
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_registration_allow_external_only: false
|
||||
```
|
||||
|
||||
### gitea_registration_button_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_registration_button_enabled: true
|
||||
```
|
||||
|
||||
### gitea_registration_email_confirm
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_registration_email_confirm: false
|
||||
```
|
||||
|
||||
### gitea_registration_email_domain_whitelist
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_registration_email_domain_whitelist: []
|
||||
```
|
||||
|
||||
### gitea_registration_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_registration_enabled: false
|
||||
```
|
||||
|
||||
### gitea_repository_access_control_allow_origin
|
||||
|
||||
Value for Access-Control-Allow-Origin header, default unset. WARNING: This maybe harmful to you website if you do not give it a right value!
|
||||
|
||||
### gitea_repository_auto_watch_on_change
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_auto_watch_on_change: false
|
||||
```
|
||||
|
||||
### gitea_repository_auto_watch_on_creation
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_auto_watch_on_creation: false
|
||||
```
|
||||
|
||||
### gitea_repository_creation_limit
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_creation_limit: -1
|
||||
```
|
||||
|
||||
### gitea_repository_default_license
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_default_license:
|
||||
- Apache License 2.0
|
||||
- MIT Licensei
|
||||
```
|
||||
|
||||
### gitea_repository_default_private
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_default_private: last
|
||||
```
|
||||
|
||||
### gitea_repository_editor_line_wrap_ext
|
||||
|
||||
Comma-separated list of file extensions for which lines should be wrapped in the CodeMirror editor. To line wrap files without an extension, just put a comma.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_editor_line_wrap_ext:
|
||||
- .txt
|
||||
- .md
|
||||
- .markdown
|
||||
- .mdown
|
||||
- .mkd
|
||||
```
|
||||
|
||||
### gitea_repository_force_private
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_force_private: false
|
||||
```
|
||||
|
||||
### gitea_repository_http_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_http_enabled: true
|
||||
```
|
||||
|
||||
### gitea_repository_issue_lock_reason
|
||||
|
||||
List of reasons why a Pull Request or Issue can be locked.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_issue_lock_reason:
|
||||
- Too heated
|
||||
- Off-topic
|
||||
- Resolved
|
||||
- Spam
|
||||
```
|
||||
|
||||
### gitea_repository_pr_close_keyword
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_pr_close_keyword:
|
||||
- close
|
||||
- closes
|
||||
- closed
|
||||
- fix
|
||||
- fixes
|
||||
- fixed
|
||||
- resolve
|
||||
- resolves
|
||||
- resolved
|
||||
```
|
||||
|
||||
### gitea_repository_pr_reopen_keyword
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_pr_reopen_keyword:
|
||||
- reopen
|
||||
- reopens
|
||||
- reopened
|
||||
```
|
||||
|
||||
### gitea_repository_pr_wip_prefix
|
||||
|
||||
List of prefixes used in Pull Request title to mark them as Work In Progress.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_pr_wip_prefix:
|
||||
- 'WIP:'
|
||||
- '[WIP]'
|
||||
```
|
||||
|
||||
### gitea_repository_push_create_org_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_push_create_org_enabled: false
|
||||
```
|
||||
|
||||
### gitea_repository_push_create_user_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_push_create_user_enabled: false
|
||||
```
|
||||
|
||||
### gitea_repository_upload_allowed_types
|
||||
|
||||
One or more allowed types, e.g. image/jpeg|image/png. Default allows any file type.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_upload_allowed_types: []
|
||||
```
|
||||
|
||||
### gitea_repository_upload_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_upload_enabled: true
|
||||
```
|
||||
|
||||
### gitea_repository_upload_max_files
|
||||
|
||||
#### Default value
|
||||
|
@ -343,6 +890,16 @@ gitea_repository_upload_max_files: 5
|
|||
gitea_repository_upload_max_filesize: 3
|
||||
```
|
||||
|
||||
### gitea_repository_use_compat_ssh_uri
|
||||
|
||||
Force ssh:// clone url instead of scp-style uri when default SSH port is used
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_repository_use_compat_ssh_uri: false
|
||||
```
|
||||
|
||||
### gitea_run_mode
|
||||
|
||||
#### Default value
|
||||
|
@ -367,7 +924,7 @@ gitea_secret: 1234567ABCDEFG
|
|||
|
||||
```YAML
|
||||
gitea_selinux_fcontext:
|
||||
- target: '{{ gitea_global_log_dir }}(/.*)?'
|
||||
- target: '{{ gitea_log_dir }}(/.*)?'
|
||||
setype: var_log_t
|
||||
```
|
||||
|
||||
|
@ -377,7 +934,39 @@ gitea_selinux_fcontext:
|
|||
|
||||
```YAML
|
||||
gitea_selinux_restorecon:
|
||||
- -ir {{ gitea_global_log_dir }}
|
||||
- -ir {{ gitea_log_dir }}
|
||||
```
|
||||
|
||||
### gitea_show_footer_branding
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_show_footer_branding: false
|
||||
```
|
||||
|
||||
### gitea_show_footer_template_load_time
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_show_footer_template_load_time: false
|
||||
```
|
||||
|
||||
### gitea_show_footer_version
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_show_footer_version: false
|
||||
```
|
||||
|
||||
### gitea_ssh_enabled
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ssh_enabled: true
|
||||
```
|
||||
|
||||
### gitea_tls_cert_path
|
||||
|
@ -430,6 +1019,128 @@ Should be replaced by your own secret.
|
|||
gitea_token: akslkaldasasifiuvsiasfa7s7f8as7f8asd
|
||||
```
|
||||
|
||||
### gitea_ui_admin_notice_paging_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_admin_notice_paging_num: 25
|
||||
```
|
||||
|
||||
### gitea_ui_admin_org_paging_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_admin_org_paging_num: 50
|
||||
```
|
||||
|
||||
### gitea_ui_admin_repo_paging_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_admin_repo_paging_num: 50
|
||||
```
|
||||
|
||||
### gitea_ui_admin_user_paging_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_admin_user_paging_num: 50
|
||||
```
|
||||
|
||||
### gitea_ui_code_comment_lines
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_code_comment_lines: 4
|
||||
```
|
||||
|
||||
### gitea_ui_explore_paging_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_explore_paging_num: 20
|
||||
```
|
||||
|
||||
### gitea_ui_feed_commit_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_feed_commit_num: 5
|
||||
```
|
||||
|
||||
### gitea_ui_graph_commit_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_graph_commit_num: 100
|
||||
```
|
||||
|
||||
### gitea_ui_issue_paging_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_issue_paging_num: 10
|
||||
```
|
||||
|
||||
### gitea_ui_reaction
|
||||
|
||||
All available reactions. Allow users react with different emojis. See https://gitea.com/gitea/gitea.com/issues/8.
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_reaction:
|
||||
- 1
|
||||
- -1
|
||||
- laugh
|
||||
- hooray
|
||||
- confused
|
||||
- heart
|
||||
- rocket
|
||||
- eyes
|
||||
```
|
||||
|
||||
### gitea_ui_search_repo_description
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_search_repo_description: true
|
||||
```
|
||||
|
||||
### gitea_ui_show_full_name
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_show_full_name: false
|
||||
```
|
||||
|
||||
### gitea_ui_show_user_email
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_show_user_email: true
|
||||
```
|
||||
|
||||
### gitea_ui_user_repo_paging_num
|
||||
|
||||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_ui_user_repo_paging_num: 15
|
||||
```
|
||||
|
||||
### gitea_user
|
||||
|
||||
#### Default value
|
||||
|
@ -451,7 +1162,7 @@ gitea_user_home: /home/{{ gitea_user }}
|
|||
#### Default value
|
||||
|
||||
```YAML
|
||||
gitea_version: 1.10.0
|
||||
gitea_version: 1.11.0
|
||||
```
|
||||
|
||||
## Dependencies
|
||||
|
|
Loading…
Reference in New Issue