2022-12-08 18:50:03 +00:00
|
|
|
---
|
2022-12-10 20:12:07 +00:00
|
|
|
# General
|
|
|
|
gitea_version_check: true
|
|
|
|
gitea_version: "1.17.3"
|
|
|
|
gitea_user: "gitea"
|
|
|
|
gitea_group: "gitea"
|
|
|
|
gitea_home: "/var/lib/gitea"
|
|
|
|
gitea_dl_url: "https://github.com/go-gitea/gitea/releases/download/v{{ gitea_version }}/gitea-{{ gitea_version }}-linux-{{ gitea_arch }}"
|
|
|
|
gitea_systemd_cap_net_bind_service: false
|
|
|
|
gitea_extra_config: ""
|
|
|
|
|
|
|
|
# Look and feel
|
|
|
|
gitea_app_name: "Gitea"
|
|
|
|
gitea_show_user_email: false
|
|
|
|
gitea_disable_gravatar: true
|
|
|
|
gitea_offline_mode: true
|
|
|
|
gitea_disable_registration: false
|
|
|
|
gitea_only_allow_external_registration: false
|
|
|
|
gitea_show_registration_button: true
|
|
|
|
gitea_require_signin: true
|
|
|
|
gitea_enable_captcha: true
|
|
|
|
gitea_themes: auto,gitea,arc-green #TODO install external themes
|
|
|
|
gitea_theme_default: auto
|
|
|
|
|
|
|
|
# Security
|
|
|
|
gitea_secret_key: T0pS3cr31
|
|
|
|
gitea_internal_token: SomethingVeryLong
|
|
|
|
gitea_disable_git_hooks: true
|
|
|
|
|
|
|
|
# Limits
|
|
|
|
gitea_user_repo_limit: -1
|
|
|
|
gitea_force_private: false
|
|
|
|
|
|
|
|
# HTTP Config
|
|
|
|
gitea_http_domain: localhost
|
|
|
|
gitea_root_url: http://localhost:3000
|
|
|
|
gitea_protocol: http
|
|
|
|
gitea_http_listen: 127.0.0.1
|
|
|
|
gitea_http_port: 3000
|
|
|
|
gitea_disable_http_git: false
|
|
|
|
|
|
|
|
# SSH Config
|
|
|
|
gitea_ssh_listen: 0.0.0.0
|
|
|
|
gitea_ssh_domain: localhost
|
|
|
|
gitea_start_ssh: true
|
|
|
|
gitea_ssh_port: 2222
|
|
|
|
|
|
|
|
# Database
|
|
|
|
gitea_db_type: sqlite3
|
|
|
|
gitea_db_host: 127.0.0.0:3306
|
|
|
|
gitea_db_name: root
|
|
|
|
gitea_db_user: gitea
|
|
|
|
gitea_db_password: lel
|
|
|
|
gitea_db_ssl: disable
|
|
|
|
gitea_db_path: "{{ gitea_home }}/data/gitea.db"
|
|
|
|
|
|
|
|
# Mail Config
|
|
|
|
gitea_mailer_enabled: false
|
|
|
|
gitea_mailer_type: smtp
|
|
|
|
gitea_mailer_skip_verify: false
|
|
|
|
gitea_mailer_tls_enabled: true
|
|
|
|
gitea_mailer_host: localhost:25
|
|
|
|
gitea_mailer_user: ""
|
|
|
|
gitea_mailer_password: ""
|
|
|
|
gitea_mailer_from: noreply@your.domain
|
|
|
|
gitea_enable_notify_mail: false
|
|
|
|
gitea_mail_default: onmention
|
|
|
|
gitea_autowatch_new_repo: false
|
|
|
|
gitea_autowatch_on_change: true
|
|
|
|
gitea_show_mailstones_dashboard: true
|
|
|
|
|
|
|
|
# Oauth provider config
|
|
|
|
gitea_oauth2_enabled: true
|
|
|
|
gitea_oauth2_jwt_secret: ''
|
|
|
|
|
|
|
|
# GIT LFS config
|
|
|
|
gitea_lfs_server_enabled: false
|
|
|
|
gitea_lfs_secret: SomethingVeryLong
|
|
|
|
gitea_lfs_content_path: "{{ gitea_home }}/data/lfs"
|
|
|
|
|
|
|
|
# Metrics endpoint config
|
|
|
|
gitea_metrics_enabled: false
|
|
|
|
gitea_metrics_token: ~
|
|
|
|
|
|
|
|
# Logs
|
|
|
|
gitea_log_level: Info
|
|
|
|
|
|
|
|
# Repo indexer config
|
|
|
|
gitea_repo_indexer_enabled: false
|
|
|
|
gitea_repo_indexer_include: ""
|
|
|
|
gitea_repo_indexer_exclude: ""
|
|
|
|
gitea_repo_exclude_vendored: true
|
|
|
|
gitea_repo_indexer_max_file_size: 1048576
|
|
|
|
|
|
|
|
# Backup on upgrade
|
|
|
|
gitea_backup_on_upgrade: true
|
|
|
|
gitea_backup_location: "{{ gitea_home }}/backups/"
|
|
|
|
|
|
|
|
# Other
|
|
|
|
gitea_gpg_key: "7C9E68152594688862D62AF62D9AE806EC1592E2"
|
|
|
|
gitea_gpg_server: "hkps://keys.openpgp.org"
|
|
|
|
gitea_repository_root: "{{ gitea_home }}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|