2018-12-08 21:21:48 +00:00
|
|
|
---
|
2019-07-31 15:50:40 +00:00
|
|
|
gitea_version: 1.9.0
|
2018-12-08 21:21:48 +00:00
|
|
|
gitea_user: "gitea_adm"
|
|
|
|
gitea_user_home: "/home/{{ gitea_user }}"
|
|
|
|
gitea_group: "{{ gitea_user }}"
|
2018-12-09 17:06:10 +00:00
|
|
|
gitea_extra_groups: []
|
2018-12-08 21:21:48 +00:00
|
|
|
|
|
|
|
gitea_packages:
|
|
|
|
- git
|
|
|
|
|
|
|
|
gitea_base_dir: "/opt/gitea"
|
|
|
|
gitea_bin_dir: "{{ gitea_base_dir }}/bin"
|
|
|
|
gitea_config_dir: "{{ gitea_base_dir }}/custom/conf"
|
|
|
|
gitea_data_dir: "{{ gitea_base_dir }}/data"
|
|
|
|
|
2018-12-08 22:11:49 +00:00
|
|
|
gitea_bind_ip: 127.0.0.1
|
2018-12-08 21:21:48 +00:00
|
|
|
gitea_bind_port: 61000
|
2018-12-08 23:40:06 +00:00
|
|
|
gitea_listen_address: http://gitea.example.com
|
2018-12-08 21:21:48 +00:00
|
|
|
|
2019-07-19 15:55:11 +00:00
|
|
|
gitea_install_lock: "true"
|
2019-10-17 06:26:10 +00:00
|
|
|
# @var gitea_secret:description: Should be replaced by your own secret.
|
2018-12-08 21:21:48 +00:00
|
|
|
gitea_secret: "1234567ABCDEFG"
|
2019-10-17 06:26:10 +00:00
|
|
|
# @var gitea_token:description: Should be replaced by your own secret.
|
2018-12-08 22:53:58 +00:00
|
|
|
gitea_token: "akslkaldasasifiuvsiasfa7s7f8as7f8asd"
|
2018-12-08 21:21:48 +00:00
|
|
|
gitea_run_mode: prod
|
|
|
|
gitea_landing_page: explore
|
2019-07-19 15:55:11 +00:00
|
|
|
gitea_disable_registration: "true"
|
2018-12-08 21:21:48 +00:00
|
|
|
|
2019-10-27 15:17:08 +00:00
|
|
|
gitea_db_type: pgsql
|
2019-10-27 15:23:27 +00:00
|
|
|
gitea_db_server: localhost
|
2019-10-27 15:17:08 +00:00
|
|
|
gitea_db_port: 5432
|
|
|
|
gitea_db_name: gitea
|
|
|
|
gitea_db_user: pggitea
|
2019-10-27 16:02:03 +00:00
|
|
|
gitea_db_password: secure
|
2019-10-27 15:17:08 +00:00
|
|
|
|
2019-10-27 16:02:03 +00:00
|
|
|
gitea_db_ssl_mode: disable
|
2018-12-08 21:21:48 +00:00
|
|
|
|
|
|
|
gitea_global_log_level: Info
|
2019-01-09 19:36:53 +00:00
|
|
|
gitea_global_log_dir: "{{ gitea_base_dir }}/log"
|
2018-12-08 21:21:48 +00:00
|
|
|
gitea_file_log_level: "{{ gitea_global_log_level }}"
|
2019-07-19 15:55:11 +00:00
|
|
|
gitea_file_log_rotate_enabled: "true"
|
|
|
|
gitea_file_log_rotate_daily_enabled: "true"
|
2018-12-08 21:21:48 +00:00
|
|
|
gitea_file_log_rotate_max_days: 7
|
|
|
|
|
|
|
|
gitea_repository_upload_max_filesize: 3
|
|
|
|
gitea_repository_upload_max_files: 5
|
|
|
|
gitea_attachment_max_filesize: 3
|
|
|
|
gitea_attachment_max_files: 5
|
|
|
|
|
|
|
|
gitea_mail_service_enabled: False
|
2018-12-09 00:42:43 +00:00
|
|
|
gitea_mail_service_from: '"System" <systemmail@example.com>'
|
2019-07-19 07:55:47 +00:00
|
|
|
gitea_no_reply_address: noreply.example.org
|
|
|
|
|
|
|
|
gitea_oauth_provider_enabled: False
|
|
|
|
gitea_access_token_expiration_time: 3600
|
|
|
|
gitea_refresh_token_expiration_time: 730
|
2019-07-19 15:55:11 +00:00
|
|
|
gitea_invalidate_refresh_tokens: "false"
|
2019-10-17 06:26:10 +00:00
|
|
|
# @bar gitea_jwt_secret:description: >
|
|
|
|
# OAuth2 authentication secret for access and refresh tokens.
|
|
|
|
# Should be replaced by your own secret.
|
|
|
|
# @end
|
2019-07-19 07:55:47 +00:00
|
|
|
gitea_jwt_secret: Bk0yK7Y9g_p56v86KaHqjSbxvNvu3SbKoOdOt2ZcXvU
|
2018-12-08 21:21:48 +00:00
|
|
|
|
|
|
|
gitea_tls_enabled: False
|
|
|
|
gitea_tls_cert_path: "{{ gitea_base_dir }}/tls/certs/mycert.pem"
|
|
|
|
gitea_tls_key_path: "{{ gitea_base_dir }}/tls/private/mykey.pem"
|
|
|
|
gitea_tls_cert_source: mycert.pem
|
|
|
|
gitea_tls_key_source: mykey.pem
|