mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
The frontend proxies to the package-cache by name, and nginx resolves a literal proxy_pass hostname once while parsing the config and keeps it for the worker's lifetime; the resolver only re-resolves targets that contain a variable. The package-cache was the one cache service without a pinned address, so recreating it left the frontend dialling a dead one, answering 502 to everything and reporting unhealthy. That surfaces far from its cause: pip.conf deliberately keeps the real index URL and extra_hosts points pypi.org at the frontend, so a pip install reports no versions at all and looks like a network fault. Pins it the way the registry-cache and the frontend are already pinned, and carries the address into the runner slots. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
24 lines
1.1 KiB
Django/Jinja
24 lines
1.1 KiB
Django/Jinja
COMPOSE_PROJECT_NAME={{ RUNNER_PROJECT_PREFIX }}-{{ runner_instance }}
|
|
INFINITO_RUNNER_PREFIX={{ RUNNER_PROJECT_PREFIX }}-{{ runner_instance }}
|
|
INFINITO_SUBNET=172.30.{{ runner_instance }}.0/24
|
|
INFINITO_GATEWAY=172.30.{{ runner_instance }}.1
|
|
INFINITO_DNS_IP=172.30.{{ runner_instance }}.53
|
|
INFINITO_IP4=172.30.{{ runner_instance }}.10
|
|
INFINITO_BIND_IP=172.30.{{ runner_instance }}.1
|
|
INFINITO_PUBLISH_PORTS=false
|
|
INFINITO_CACHE_PACKAGE_FRONTEND_IP=172.30.{{ runner_instance }}.4
|
|
INFINITO_CACHE_PACKAGE_IP=172.30.{{ runner_instance }}.5
|
|
INFINITO_CACHE_REGISTRY_IP=172.30.{{ runner_instance }}.6
|
|
DOMAIN={{ DOMAIN_PRIMARY }}
|
|
DOMAIN_RE={{ DOMAIN_PRIMARY | replace('.', '\\.') }}
|
|
INVENTORY_DIR={{ RUNNER_INSTALL_DIR }}/{{ runner_instance }}/inventories/github
|
|
INFINITO_DOCKER_VOLUME={{ RUNNER_DOCKER_BASE }}/{{ runner_instance }}
|
|
INFINITO_PRESERVE_DOCKER_CACHE=true
|
|
INFINITO_CPUS={{ RUNNER_CPUS }}
|
|
RUNNER_NAME={{ RUNNER_NAME }}-{{ runner_instance }}
|
|
RUNNER_LABELS={{ RUNNER_LABELS }}
|
|
RUNNER_GITHUB_OWNER={{ RUNNER_GITHUB_OWNER }}
|
|
RUNNER_GITHUB_REPO={{ RUNNER_GITHUB_REPO }}
|
|
RUNNER_API_TOKEN={{ RUNNER_API_TOKEN }}
|
|
DOCKER_IN_CONTAINER={{ DOCKER_IN_CONTAINER | bool | lower }}
|