ansible-core-net / deploy (push) Successful in 1m0s
ansible-core-secrets / deploy (push) Successful in 16s
ansible-rus-central / deploy (push) Successful in 1m6s
ansible-core-git / deploy (push) Successful in 14s
ansible-core-mon / deploy (push) Successful in 23s
ansible-ger-nod-02 / deploy (push) Successful in 1m28s
ansible-opnsense / deploy (push) Successful in 6s
Подключает POSTGRES_USER/DB/PASSWORD, пишет compose при секретах, поднимает стек только при наличии PG_VERSION. Terraform: import-core-git. Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
1.2 KiB
YAML
27 lines
1.2 KiB
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: "{{ lookup('env', 'GITEA_POSTGRES_USER', default='gitea') }}"
|
|
gitea_postgres_db: "{{ lookup('env', 'GITEA_POSTGRES_DB', default='gitea') }}"
|
|
gitea_postgres_password: "{{ lookup('env', 'GITEA_POSTGRES_PASSWORD') }}"
|
|
# Пустой стек до ручной миграции не поднимаем: compose пишется при секретах, up — когда есть PG_VERSION.
|
|
gitea_bootstrap_empty: false
|
|
|
|
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
|