2026-05-10 22:05:16 +02:00
|
|
|
topology:
|
|
|
|
|
mesh: tailscale
|
|
|
|
|
git_provider: forgejo
|
|
|
|
|
|
|
|
|
|
deployment:
|
|
|
|
|
mode: pull
|
|
|
|
|
orchestrator: saturn
|
|
|
|
|
|
2026-06-30 16:23:57 +02:00
|
|
|
# Ingress dla usług domowych przez NPM @ PIHA + wildcard cert kapala.org.
|
|
|
|
|
# Od 2026-06-30. Poprzednia ścieżka (add-on Tailscale na ha-ken) PORZUCONA.
|
|
|
|
|
# DNS kapala.org: Cloudflare, wildcard *.kapala.org via DNS-01 (auto-renew).
|
|
|
|
|
# Mail: Fastmail (MX/DKIM/SPF na CF, DNS only).
|
|
|
|
|
# Subdomeny mesh: A → 100.108.208.3 (Tailscale PIHA), DNS only.
|
|
|
|
|
ingress:
|
|
|
|
|
dns_provider: cloudflare # kapala.org od 2026-06-30
|
|
|
|
|
wildcard_cert:
|
|
|
|
|
domain: "*.kapala.org"
|
|
|
|
|
method: dns-01 # Cloudflare DNS-01, auto-renew
|
|
|
|
|
proxy: npm-piha # Nginx Proxy Manager @ PIHA
|
|
|
|
|
services:
|
|
|
|
|
home_assistant:
|
|
|
|
|
host: 192.168.31.7
|
|
|
|
|
port: 8123
|
|
|
|
|
ingress: ha.kapala.org # NPM @ PIHA, cert *.kapala.org, mesh-only
|
|
|
|
|
access: tailscale # 100.108.208.3
|
|
|
|
|
cert: wildcard-kapala # DNS-01 Cloudflare, auto-renew
|
|
|
|
|
immich:
|
|
|
|
|
host: 192.168.31.5
|
|
|
|
|
port: 2283
|
|
|
|
|
ingress: immich.kapala.org # NPM @ PIHA, cert *.kapala.org, mesh-only
|
|
|
|
|
access: tailscale
|
|
|
|
|
cert: wildcard-kapala
|
|
|
|
|
|
2026-05-10 22:05:16 +02:00
|
|
|
nodes:
|
|
|
|
|
|
|
|
|
|
saturn:
|
|
|
|
|
roles:
|
|
|
|
|
- control
|
|
|
|
|
- development
|
|
|
|
|
|
|
|
|
|
piha:
|
|
|
|
|
roles:
|
|
|
|
|
- infra
|
|
|
|
|
- monitoring
|
2026-06-01 17:54:36 +02:00
|
|
|
services:
|
|
|
|
|
- node-agent
|
|
|
|
|
- ha-diag-agent
|
|
|
|
|
- brain-watchdog
|
2026-06-17 15:02:37 +02:00
|
|
|
- vikunja # Task management (vikunja + postgres), public via npm
|
2026-06-22 19:59:58 +02:00
|
|
|
- kb-postgres # KB spine: Postgres 16 + pgvector, port 5433 (always-on)
|
2026-07-03 13:41:44 +02:00
|
|
|
- llm-gateway # FastAPI router -> Ollama @ SOLARIA (Tailscale-internal :8080)
|
2026-05-10 22:05:16 +02:00
|
|
|
|
|
|
|
|
solaria:
|
|
|
|
|
roles:
|
|
|
|
|
- compute
|
|
|
|
|
- ai
|
feat(kb-mail): fundament — pgvector spine, koperta, archiwum, pakiet domeny
- services/kb-postgres: pgvector/pgvector:pg16 na SOLARIA (:5433), named
volume, init/001_envelope.sql (CREATE EXTENSION vector + zamrożona tabela
envelope: id/source/ts/geo/raw_ref/entities), service.yaml, healthcheck,
README z poprawnym mechanizmem deploy (deploy-node.sh składa dwa -f)
- hosts/solaria/runtime/kb-postgres/docker-compose.override.yml: mem_limit 4g
- inventory/topology.yaml + hosts/solaria/services.yaml: kb-postgres wpisany
- packages/kb-mail: nowa konwencja shared lib (pip install /repo/packages/<lib>/)
envelope.py — @dataclass Envelope, walidacja tz-aware ts
db.py — insert_envelope / get_envelope (asyncpg, ON CONFLICT DO NOTHING)
archive.py — save_eml append-only (asyncio.to_thread, FileExistsError na dup)
tests: 15 unit pass + 5 integration (@pytest.mark.integration, wymaga KB_TEST_DSN)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-17 21:50:49 +02:00
|
|
|
services:
|
|
|
|
|
- node-agent
|
2026-05-10 22:05:16 +02:00
|
|
|
|
|
|
|
|
vps:
|
|
|
|
|
roles:
|
|
|
|
|
- edge
|
|
|
|
|
- ingress
|
2026-05-21 11:40:55 +02:00
|
|
|
- control-plane
|
2026-06-01 17:54:36 +02:00
|
|
|
services:
|
|
|
|
|
# Repo-managed GitOps services (hosts/vps/services.yaml is authoritative)
|
|
|
|
|
- node-agent
|
|
|
|
|
- control-plane # executor, observer, supervisor, operator-ui
|
|
|
|
|
- node_exporter
|
2026-06-24 17:13:55 +02:00
|
|
|
- fleet-prometheus # Fleet liveness source of truth (Tailscale-internal)
|
2026-06-01 17:54:36 +02:00
|
|
|
- stability-agent
|
|
|
|
|
- npm # Nginx Proxy Manager — public ingress, TLS termination
|
|
|
|
|
- outline # Team wiki (outline + postgres + redis)
|
|
|
|
|
- joplin # Note sync server (joplin-server + postgres)
|
|
|
|
|
- ai-cluster # AI workers: codex-worker, openclaw, planner-worker,
|
|
|
|
|
# service-ops-worker, redis, mosquitto
|
2026-07-09 17:29:28 +02:00
|
|
|
- gokapi # Public file-share (Firefox Send alt), share.okit.pl via npm@VPS,
|
|
|
|
|
# local disk storage, E2E encryption ON — separate from private Nextcloud
|
2026-05-10 22:05:16 +02:00
|
|
|
|
2026-05-20 14:23:57 +02:00
|
|
|
chelsty-infra:
|
|
|
|
|
site: chelsty
|
2026-05-10 22:05:16 +02:00
|
|
|
roles:
|
2026-05-11 13:26:23 +02:00
|
|
|
- remote
|
2026-05-10 22:05:16 +02:00
|
|
|
- hypervisor
|
2026-05-20 14:23:57 +02:00
|
|
|
- infra
|
2026-05-10 22:05:16 +02:00
|
|
|
- staging
|
2026-05-11 13:26:23 +02:00
|
|
|
connectivity:
|
|
|
|
|
uplink: lte
|
|
|
|
|
intermittent: true
|
|
|
|
|
home_automation:
|
|
|
|
|
offline_operation_required: true
|
|
|
|
|
services:
|
|
|
|
|
- zigbee2mqtt
|
|
|
|
|
- mosquitto
|
|
|
|
|
coordinator:
|
|
|
|
|
model: SLZB-06U
|
|
|
|
|
connection: network
|
|
|
|
|
usb: false
|
2026-05-20 14:23:57 +02:00
|
|
|
|
|
|
|
|
chelsty-ha:
|
|
|
|
|
site: chelsty
|
|
|
|
|
roles:
|
|
|
|
|
- remote
|
|
|
|
|
- homeassistant
|
|
|
|
|
connectivity:
|
|
|
|
|
uplink: lte
|
|
|
|
|
intermittent: true
|
|
|
|
|
home_automation:
|
|
|
|
|
offline_operation_required: true
|
|
|
|
|
services:
|
|
|
|
|
- homeassistant
|
2026-06-10 13:02:04 +02:00
|
|
|
|
|
|
|
|
lustro:
|
|
|
|
|
roles:
|
|
|
|
|
- edge
|
|
|
|
|
services:
|
|
|
|
|
- node-agent
|