Some checks failed
Deploy Application / deploy (push) Has been cancelled
63 lines
2.2 KiB
YAML
63 lines
2.2 KiB
YAML
---
|
|
# Gitea Stack Configuration
|
|
gitea_stack_path: "{{ stacks_base_path }}/gitea"
|
|
gitea_container_name: "gitea"
|
|
gitea_url: "https://{{ gitea_domain | default('git.michaelschiemer.de') }}"
|
|
gitea_domain: "{{ gitea_domain | default('git.michaelschiemer.de') }}"
|
|
|
|
# Wait Configuration
|
|
gitea_wait_timeout: "{{ wait_timeout | default(60) }}"
|
|
gitea_wait_interval: 5
|
|
gitea_restart_wait_timeout: 30
|
|
gitea_restart_retries: 30
|
|
gitea_restart_delay: 2
|
|
|
|
# Health Check Configuration
|
|
gitea_health_check_timeout: 10
|
|
gitea_check_health: true
|
|
gitea_show_status: true
|
|
gitea_show_logs: true
|
|
gitea_logs_tail: 50
|
|
|
|
# Auto-Restart Configuration
|
|
# Set to false to prevent automatic restarts when healthcheck fails
|
|
# This prevents restart loops when Gitea is temporarily unavailable
|
|
gitea_auto_restart: true
|
|
|
|
# Config Update Configuration
|
|
gitea_app_ini_path: "{{ gitea_stack_path }}/app.ini"
|
|
gitea_app_ini_container_path: "/data/gitea/conf/app.ini"
|
|
gitea_app_ini_template: "../../templates/gitea-app.ini.j2"
|
|
gitea_config_retries: 30
|
|
gitea_config_delay: 2
|
|
|
|
# Setup Configuration
|
|
gitea_admin_username: "{{ vault_gitea_admin_username | default('admin') }}"
|
|
gitea_admin_password: "{{ vault_gitea_admin_password | default('') }}"
|
|
gitea_admin_email: "{{ vault_gitea_admin_email | default(acme_email) }}"
|
|
gitea_force_update_app_ini: false
|
|
gitea_setup_health_retries: 30
|
|
gitea_setup_health_delay: 5
|
|
gitea_setup_db_wait: 10
|
|
|
|
# Runner Configuration
|
|
gitea_runner_path: "{{ runner_path | default('/home/deploy/deployment/gitea-runner') }}"
|
|
gitea_runner_container_name: "gitea-runner"
|
|
gitea_instance_url: "https://git.michaelschiemer.de"
|
|
gitea_runner_action: "fix" # Options: fix, register
|
|
gitea_runner_registration_token: ""
|
|
gitea_runner_name: "dev-runner-01"
|
|
gitea_runner_labels: "ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,php-ci:docker://php-ci:latest"
|
|
gitea_runner_show_status: true
|
|
gitea_runner_wait_seconds: 5
|
|
|
|
# Repository Configuration
|
|
gitea_repo_name: "michaelschiemer"
|
|
gitea_repo_owner: "michael"
|
|
gitea_repo_private: false
|
|
gitea_repo_description: "Main application repository"
|
|
gitea_repo_auto_init: false
|
|
gitea_configure_git_remote: true
|
|
gitea_git_repo_path: "/home/michael/dev/michaelschiemer"
|
|
gitea_force_create_repo: false
|