homelab-codex-ws/hosts
oskar 70ff08b4a0 feat(llm-gateway): wciagniecie shadow-serwisu z PIHA do GitOps
Kod zyl tylko na dysku PIHA w /opt/llm-gateway (bez gita). Przeniesiony do
services/llm-gateway/ pod pelny wzorzec homelaba:

- app/main.py: kod 1:1 z PIHA + OLLAMA_URL/CHAT_MODEL/CODE_MODEL
  nadpisywalne przez env (defaulty bez zmian)
- docker-compose.yml: bind TYLKO do Tailscale IP (${TAILSCALE_BIND_IP},
  wzorzec fleet-prometheus), nie 0.0.0.0 jak w starym compose
- service.yaml, env.example (bez sekretow), healthcheck.sh, README, testy
- hosts/piha/runtime/llm-gateway: mem_limit 256m (PIHA jest RAM-bound)
- rejestracja w hosts/piha/services.yaml i inventory/topology.yaml

Zepsuty /opt/llm-gateway/docker-compose.yml (zduplikowany klucz ports)
celowo NIE przeniesiony.

DoD: pytest 4 passed; docker build + smoke run OK (GET / -> gateway ok).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 13:41:44 +02:00
..
chelsty-ha feat(hosts): add os_hostname field to all host.yaml files 2026-06-24 22:24:34 +02:00
chelsty-infra feat(hosts): add os_hostname field to all host.yaml files 2026-06-24 22:24:34 +02:00
lustro fix(lustro): mount SSH key at /home/homelab/.ssh for node-agent event shipping 2026-06-11 12:45:55 +02:00
piha feat(llm-gateway): wciagniecie shadow-serwisu z PIHA do GitOps 2026-07-03 13:41:44 +02:00
saturn feat(hosts): add os_hostname field to all host.yaml files 2026-06-24 22:24:34 +02:00
solaria feat(hosts): add os_hostname field to all host.yaml files 2026-06-24 22:24:34 +02:00
vps feat(hosts): add os_hostname field to all host.yaml files 2026-06-24 22:24:34 +02:00