Files
homelab-infra/ansible/roles/core-git/gitea/defaults/main.yml
T
karpenokandCursor c507ed1fdb
ansible-core-git / deploy (push) Successful in 27s
ansible-core-mon / deploy (push) Successful in 24s
ansible-core-net / deploy (push) Successful in 54s
ansible-core-secrets / deploy (push) Successful in 18s
ansible-ger-nod-02 / deploy (push) Successful in 1m15s
ansible-opnsense / deploy (push) Successful in 6s
ansible-rus-central / deploy (push) Successful in 50s
feat(core-git): каркас машины CT 904 под Gitea до миграции
Добавляет terraform/ansible/CI и scrape cAdvisor. Стек Gitea без
POSTGRES_PASSWORD в Infisical не поднимается — данные придут с CT 109.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-13 22:00:53 +07:00

25 lines
962 B
YAML

---
gitea_dir: /opt/gitea
gitea_http_port: 3000
gitea_ssh_port: 222
gitea_image: "docker.gitea.com/gitea:28.3.0"
gitea_postgres_image: "postgres:14"
gitea_runner_image: "docker.io/gitea/runner:5-dind"
gitea_domain: "gitea.gunihome.ru"
gitea_root_url: "https://gitea.gunihome.ru"
# Стабильное имя для clone SSH (Unbound), не LAN IP CT.
gitea_ssh_domain: "gitea.internal"
gitea_postgres_user: gitea
gitea_postgres_db: gitea
gitea_postgres_password: "{{ lookup('env', 'GITEA_POSTGRES_PASSWORD') }}"
gitea_runner_name: homelab
gitea_runner_labels: "homelab:docker://docker.gitea.com/runner-images:ubuntu-latest"
gitea_runner_instance_url: "{{ gitea_root_url }}"
gitea_runner_registration_token: "{{ lookup('env', 'GITEA_RUNNER_REGISTRATION_TOKEN', default='') }}"
# Включается, если есть токен регистрации или уже лежит runner-data/.runner (после миграции).
gitea_runner_enabled: false