diff --git a/docs/platform/proxmox-server/lxc/ct-117-fluxer/GNAI-025-PLAN_Fluxer-LXC.md b/docs/platform/proxmox-server/lxc/ct-117-fluxer/GNAI-025-PLAN_Fluxer-LXC.md index 2149d2f..25d9be6 100644 --- a/docs/platform/proxmox-server/lxc/ct-117-fluxer/GNAI-025-PLAN_Fluxer-LXC.md +++ b/docs/platform/proxmox-server/lxc/ct-117-fluxer/GNAI-025-PLAN_Fluxer-LXC.md @@ -19,6 +19,7 @@ | 2026-11-30 | 1.9 | Mistral Vibe | Erste podman-compose-1.3.0-Laufzeitbefunde: Gateway verlangt `FLUXER_ERLANG_COOKIE`, Shards `FLUXER_PROFILE_PSEUDONYM_SECRET` (Override injiziert beide als runtime-Secrets); Secret-Generierung idempotent nachziehend (fehlende Keys werden ergänzt, statt nur bei leerer Datei); Firewall erlaubt podman-bridge (aardvark-dns `10.89.0.1:53` + intra-`10.89.0.0/16`) — sonst kein Inter-Container-DNS/Traffic; Unit mit `up -d --force-recreate` + `TimeoutStartSec=1800` (podman-compose recreatet sonst nicht bei .env-Änderung) | | 2026-11-30 | 1.10 | Mistral Vibe | podman-compose-1.3.0-Substitutionsdefekte: nicht-leere compose-Defaults (`${VAR:-default}`) werden als **Leerstring** substituiert, wenn VAR im .env fehlt (Node-API lehnt leere Booleans ab) — alle Defaults explizit ins .env; 4 verschachtelte `${VAR:-${INNER:-…}}`-Refs werden zerpflückt — in der Adaption geflattet; VAPID-Keys im Fluxer-Format base64url **ohne Padding** (raw 32-Byte-Scalar/65-Byte-Point), falsch formatierte Altwerte regeneriert; seaweedfs-init-Bedingung `service_completed_successfully` wird von podman-compose 1.3.0 nie erfüllt | | 2026-11-30 | 1.11 | Mistral Vibe | Stack läuft **vollständig und konvergiert** (23 Services Up, seaweedfs-init `Exited (0)` Sollzustand, api/postgres/valkey healthy, app-proxy HTTP 200, `site.yml`-Zweitlauf `changed=0`). Sieben weitere podman-compose/LiveKit-Befunde (Detail in Abschnitt 5a): (a) leer-defaultete `${VAR:-}`-Refs bleiben wörtlich im Container-Env, wenn die Var im .env fehlt → api „Invalid email app base URL"; (b) fehlender Podman-Bridge-Egress → LiveKit-STUN-Crashloop; (c) `depends_on: caddy` crasht podman-compose mit KeyError bei deaktiviertem Edge; (d) gepinnte livekit.yaml erwartet `webhook.api_key: fluxer` → LIVEKIT_API_KEY als Bezeichner fix `fluxer`; (e) `podman wait --condition=running` auf den Oneshot seaweedfs-init blockt ewig; (f) Rollen-Verification um den legitimen `Exited (0)` des Init-Containers erweitert; (g) Idempotenz: SHA-verifizierter Download auf separate `docker-compose.upstream.yml`, aktive Compose nur bei Upstream-Änderung erneuert | +| 2026-11-30 | 1.12 | Mistral Vibe / Operator | **Domain-Kollision korrigiert:** `chat.ghostnet.selfhost.eu` ist der live produktive OpenWebUI-Nutzerpfad (GNAI-001 M6, NPM → 10.0.0.90:8081) — Fluxer erhält `fluxer.ghostnet.selfhost.eu`. Umgezogen: CT-117-Inventories (`fluxer_stack_public_domain`), Keycloak-Client-Spec (CT-102-Rolle, Sync zieht die Redirect-URIs per PUT), NPM-Vhost-Rolle (CT 103), Pi-hole-Split-DNS (CT 100, `chat.` bleibt OpenWebUI vorbehalten), Doku. Keycloak-Client war zwischenzeitlich mit `chat.`-URIs angelegt (Phase-7-Lauf), wird beim nächsten Sync automatisch korrigiert | ## 1. Zweck und Leitentscheidung @@ -28,7 +29,7 @@ bewährten Podman-LXC-Schema des Homelabs: unprivilegierter Debian-13-LXC, rootful Podman unter systemd, digest-gepinnte Images, nftables default-deny, drei Inventories (`agent`/`bootstrap`/`production`), PVE-seitige Anlage durch diesen Operator. Öffentlich erreichbar über den bestehenden NPM-Edge (CT 103) -als `https://chat.ghostnet.selfhost.eu`. +als `https://fluxer.ghostnet.selfhost.eu`. Entscheidungen (Operator-Pending, daher als solche markiert): @@ -43,7 +44,7 @@ fluxerapp/fluxer, fossengineer.com, selfhostedworld.com): | Befund | Ergebnis | | | --- | --- | --- | -| a) **Auth über Keycloak** | **Machbar, nativ.** Fluxer unterstützt SSO über beliebige OIDC-Provider — Keycloak wird ausdrücklich genannt. Konfiguration im Admin-Panel `/admin` (Instance Settings): Issuer URL, Client ID, Client Secret; Callback-Pfad `/auth/sso/callback`. Keycloak-Seite: confidential Client `fluxer` im Realm `Ghost.net` (Redirect `https://chat.ghostnet.selfhost.eu/auth/sso/callback`), anlegbar über die bestehende `keycloak_realm_config`-Rolle (Abschnitt 4). Das Client-Secret wird von Keycloak generiert und vom Operator im Credentials-Tab abgelesen und im Fluxer-Admin-Panel eingetragen — es landet nie im Repo. Zusätzlich: Registrierung invite-only, damit nur Freunde Accounts bekommen. | ✅ | +| a) **Auth über Keycloak** | **Machbar, nativ.** Fluxer unterstützt SSO über beliebige OIDC-Provider — Keycloak wird ausdrücklich genannt. Konfiguration im Admin-Panel `/admin` (Instance Settings): Issuer URL, Client ID, Client Secret; Callback-Pfad `/auth/sso/callback`. Keycloak-Seite: confidential Client `fluxer` im Realm `Ghost.net` (Redirect `https://fluxer.ghostnet.selfhost.eu/auth/sso/callback`), anlegbar über die bestehende `keycloak_realm_config`-Rolle (Abschnitt 4). Das Client-Secret wird von Keycloak generiert und vom Operator im Credentials-Tab abgelesen und im Fluxer-Admin-Panel eingetragen — es landet nie im Repo. Zusätzlich: Registrierung invite-only, damit nur Freunde Accounts bekommen. | ✅ | | b) **Unattended Updates** | **Machbar, zweistufig.** (1) OS: `unattended-upgrades` auf Debian-Security beschränkt — exakt die CT-100/102/103-Konvention, in Rolle `fluxer_lxc_baseline` umgesetzt. (2) Container-Images: Repo-Konvention ist digest-gepinnt + Update per Ansible-Re-Run (`podman-auto-update.timer` bleibt wie bei CT 102/103 deaktiviert). Vollautomatisches `podman auto-update` wäre möglich, aber gegen die Change-Discipline (geprüfte Pins, `--check --diff` vor Produktivlauf) — bewusst nicht eingeschaltet. | ✅ | | c) **Images/Pinning** | **Machbar.** Offizielle Images `ghcr.io/fluxerapp/fluxer-:v1` (FLUXER_REGISTRY/OWNER/TAG-override-fähig) für api, gateway, worker, media-proxy, app-proxy-self-hosted, static, admin, snowflakes, users, messages, gifs, unfurl, push; Infra: postgres, valkey, nats, meilisearch, seaweedfs, livekit-server, caddy. Die Rolle `fluxer_stack` lädt die upstream-compose am gepinnten Commit mit SHA-256-Check und pinnt Images per Digest (Platzhalter `PENDING-*` failen hart, bis der Operator pinnt). | ✅ | | d) **Performance** | **Machbar mit Dimensionierung.** Upstream-compose: ~21 Services, docker memory limits summiert ~19,3 GB (Reservierungen deutlich darunter). Für einen Freundeskreis reicht 1 Shard; die Ghostnet-Override setzt upstream-eigene `FLUXER_*_MEMORY_LIMIT`-Knobs (Summe ~6 GiB). CT-Profil: **4 Cores / 8192 MiB RAM / 2048 MiB Swap / 64 GiB rootfs** (`local-lvm`). Ob der PVE-Host das tragen kann, muss der Operator vor Anlage prüfen (`free -h`/`pct config`-Summe auf dem Host — Agent hat keinen pct-Zugang). Erste Last nach Go-Live beobachten (`podman stats`), RAM ggf. auf 12–16 GiB hochziehen. | ✅ mit Bedingung | @@ -55,7 +56,7 @@ fluxerapp/fluxer, fossengineer.com, selfhostedworld.com): ``` Internet ──TLS──> FRITZ!Box (80/443 → CT 103 NPM; optional 7881/tcp, 3478/udp, 50000-50100/udp → CT 117 bei Voice) - CT 103 NPM: chat.ghostnet.selfhost.eu → 10.0.0.62:8080 (+ /livekit/ → :7880) + CT 103 NPM: fluxer.ghostnet.selfhost.eu → 10.0.0.62:8080 (+ /livekit/ → :7880) CT 117 fluxer (10.0.0.62, Debian 13, unprivileged, nesting=1): nftables default-deny (SSH aus 10.0.0.0/24+10.8.0.0/24, 8080/7880 nur von 10.0.0.10, Voice-Ports WAN bei D2=ja) @@ -64,7 +65,7 @@ Internet ──TLS──> FRITZ!Box (80/443 → CT 103 NPM; optional 7881/tcp, 3 media-proxy, static, admin, shards, postgres, valkey, nats, meilisearch, seaweedfs (caddy edge disabled) Keycloak CT 102: Realm Ghost.net, Client `fluxer` (OIDC-SSO) - Pi-hole CT 100: Split-DNS chat.ghostnet.selfhost.eu → 10.0.0.10 + Pi-hole CT 100: Split-DNS fluxer.ghostnet.selfhost.eu → 10.0.0.10 ``` CT-Profil: 117, `fluxer`, `10.0.0.62/24`, GW `10.0.0.1`, DNS `10.0.0.14`, @@ -77,7 +78,7 @@ ist als Ausbaustufe offen (Abschnitt 11). ## 4. Keycloak-Integration (Befund a) - Realm `Ghost.net`, Client `fluxer` (confidential, standard flow, redirect - `https://chat.ghostnet.selfhost.eu/auth/sso/callback`), angelegt über + `https://fluxer.ghostnet.selfhost.eu/auth/sso/callback`), angelegt über `proxmox/lxc/ct-102-keycloak/ansible/roles/keycloak_realm_config` (neuer Block `keycloak_realm_fluxer_client` in defaults + realm spec + `keycloak_realm_sync.py` Abschnitt 5). @@ -96,7 +97,7 @@ ist als Ausbaustufe offen (Abschnitt 11). | Provisioning | `proxmox/lxc/ct-117-fluxer/scripts/provision-ct117-fluxer.sh` | pct create + baseline hook (SHA-256-gepinnt) + configfs-Mask; nie destruktiv | | Ansible | `proxmox/lxc/ct-117-fluxer/ansible/` | `ansible.cfg`, 3 Inventories, `playbooks/{preflight,site}.yml`, Rollen `fluxer_lxc_baseline`, `fluxer_access`, `fluxer_firewall`, `fluxer_stack` + shared `podman_runtime` | | Stack | Rolle `fluxer_stack` | gepinnte upstream-compose (SHA-256, `3b1eb567`/`1cb102f9…`) als separate `docker-compose.upstream.yml`; aktive `docker-compose.yml` wird nur bei Upstream-Änderung aus der Kopie erzeugt und lokal adaptiert (Abschnitt 5a); `docker-compose.ghostnet.yml` (Caddy-Edge aus, nur app-proxy/LiveKit published, `pull_policy: never`, journald) + `.env` (0600, Secrets einmalig on-guest generiert) + `fluxer-stack.service`; Image-Digests gepinnt | -| NPM | `proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/` | Vhost `chat.ghostnet.selfhost.eu` → 10.0.0.62:8080 + `/livekit/` → :7880, LE-Cert, Fail2Ban-Restart; in CT-103-`site.yml` eingehängt | +| NPM | `proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/` | Vhost `fluxer.ghostnet.selfhost.eu` → 10.0.0.62:8080 + `/livekit/` → :7880, LE-Cert, Fail2Ban-Restart; in CT-103-`site.yml` eingehängt | | Keycloak | `proxmox/lxc/ct-102-keycloak/.../keycloak_realm_config` | Client `fluxer` (Abschnitt 4) | **Begründete Abweichung vom Quadlet-Schema:** Upstream liefert eine einzige @@ -163,7 +164,7 @@ ihn. 7. **Agent:** CT-102-`keycloak_realm_config` laufen lassen (legt Client `fluxer` an). **Offen.** 8. **Operator:** Keycloak-Credentials-Tab → Secret in Fluxer `/admin` eintragen (Issuer/Client-ID/Secret), Registrierung auf invite-only. 9. **Agent (nach Operator-Go):** CT-103-`site.yml` mit neuer Rolle `reverse_proxy_fluxer_vhost` (legt NPM-Vhost + LE-Cert an). -10. **Operator:** Pi-hole-Split-DNS `chat.ghostnet.selfhost.eu → 10.0.0.10`; FRITZ!Box-Portweiterleitung 7881/tcp, 3478/udp, 50000–50100/udp → 10.0.0.62 nur bei D2=ja. +10. **Operator:** Pi-hole-Split-DNS `fluxer.ghostnet.selfhost.eu → 10.0.0.10`; FRITZ!Box-Portweiterleitung 7881/tcp, 3478/udp, 50000–50100/udp → 10.0.0.62 nur bei D2=ja. 11. **Agent:** Abnahmetests (Abschnitt 10). ## 7. Sicherheitsregeln (verbindlich) @@ -190,7 +191,7 @@ ihn. ## 10. Abnahmetests (nach Go-Live) -1. `https://chat.ghostnet.selfhost.eu` lädt (LE-Cert, HSTS, HTTP/2), `/_health` der API OK. +1. `https://fluxer.ghostnet.selfhost.eu` lädt (LE-Cert, HSTS, HTTP/2), `/_health` der API OK. 2. Keycloak-SSO: Login über `fluxer`-Client, Callback `/auth/sso/callback` erfolgreich; danach invite-only-Registrierung verifizieren (neuer Account nur per Invite). 3. Gateway-WebSocket (`/gateway`) und `/livekit/` signaling durch NPM (WS-Upgrade) OK; bei D2=ja: Voice-Call-Test zwischen zwei Clients über WAN. 4. Firewall: von extern nur 80/443 (via FRITZ!Box→CT 103) und ggf. Voice-Ports erreichbar; `nft list table inet ghostnet_filter` auf CT 117 zeigt die gesetzten Regeln; direkter Zugriff auf 10.0.0.62:8080 nur von 10.0.0.10. diff --git a/proxmox/lxc/ct-100-dns/ansible/inventories/agent/group_vars/dns_hosts.yml b/proxmox/lxc/ct-100-dns/ansible/inventories/agent/group_vars/dns_hosts.yml index cb0310e..accda5a 100644 --- a/proxmox/lxc/ct-100-dns/ansible/inventories/agent/group_vars/dns_hosts.yml +++ b/proxmox/lxc/ct-100-dns/ansible/inventories/agent/group_vars/dns_hosts.yml @@ -36,6 +36,9 @@ dns_pihole_hosts_records: - "10.0.0.10 chat.ghostnet.selfhost.eu" # GNAI-023 M8: GPT Researcher via NPM (CT-103) + oauth2-proxy. - "10.0.0.10 research.ghostnet.selfhost.eu" + # GNAI-025: Fluxer-Chat via NPM (CT-103). chat.ghostnet.selfhost.eu bleibt + # OpenWebUI (GNAI-001 M6) vorbehalten. + - "10.0.0.10 fluxer.ghostnet.selfhost.eu" dns_pihole_timezone: Europe/Berlin dns_pihole_database_max_db_days: 30 dns_pihole_secret_name: pihole_web_password diff --git a/proxmox/lxc/ct-100-dns/ansible/inventories/bootstrap/group_vars/dns_hosts.yml b/proxmox/lxc/ct-100-dns/ansible/inventories/bootstrap/group_vars/dns_hosts.yml index cb0310e..accda5a 100644 --- a/proxmox/lxc/ct-100-dns/ansible/inventories/bootstrap/group_vars/dns_hosts.yml +++ b/proxmox/lxc/ct-100-dns/ansible/inventories/bootstrap/group_vars/dns_hosts.yml @@ -36,6 +36,9 @@ dns_pihole_hosts_records: - "10.0.0.10 chat.ghostnet.selfhost.eu" # GNAI-023 M8: GPT Researcher via NPM (CT-103) + oauth2-proxy. - "10.0.0.10 research.ghostnet.selfhost.eu" + # GNAI-025: Fluxer-Chat via NPM (CT-103). chat.ghostnet.selfhost.eu bleibt + # OpenWebUI (GNAI-001 M6) vorbehalten. + - "10.0.0.10 fluxer.ghostnet.selfhost.eu" dns_pihole_timezone: Europe/Berlin dns_pihole_database_max_db_days: 30 dns_pihole_secret_name: pihole_web_password diff --git a/proxmox/lxc/ct-100-dns/ansible/inventories/production/group_vars/dns_hosts.yml b/proxmox/lxc/ct-100-dns/ansible/inventories/production/group_vars/dns_hosts.yml index cb0310e..accda5a 100644 --- a/proxmox/lxc/ct-100-dns/ansible/inventories/production/group_vars/dns_hosts.yml +++ b/proxmox/lxc/ct-100-dns/ansible/inventories/production/group_vars/dns_hosts.yml @@ -36,6 +36,9 @@ dns_pihole_hosts_records: - "10.0.0.10 chat.ghostnet.selfhost.eu" # GNAI-023 M8: GPT Researcher via NPM (CT-103) + oauth2-proxy. - "10.0.0.10 research.ghostnet.selfhost.eu" + # GNAI-025: Fluxer-Chat via NPM (CT-103). chat.ghostnet.selfhost.eu bleibt + # OpenWebUI (GNAI-001 M6) vorbehalten. + - "10.0.0.10 fluxer.ghostnet.selfhost.eu" dns_pihole_timezone: Europe/Berlin dns_pihole_database_max_db_days: 30 dns_pihole_secret_name: pihole_web_password diff --git a/proxmox/lxc/ct-100-dns/ansible/roles/dns_pihole/defaults/main.yml b/proxmox/lxc/ct-100-dns/ansible/roles/dns_pihole/defaults/main.yml index 972ff2f..1cbd2d9 100644 --- a/proxmox/lxc/ct-100-dns/ansible/roles/dns_pihole/defaults/main.yml +++ b/proxmox/lxc/ct-100-dns/ansible/roles/dns_pihole/defaults/main.yml @@ -17,6 +17,9 @@ dns_pihole_hosts_records: - "10.0.0.10 chat.ghostnet.selfhost.eu" # GNAI-023 M8: GPT Researcher via NPM (CT-103) + oauth2-proxy. - "10.0.0.10 research.ghostnet.selfhost.eu" + # GNAI-025: Fluxer-Chat via NPM (CT-103). chat.ghostnet.selfhost.eu bleibt + # OpenWebUI (GNAI-001 M6) vorbehalten. + - "10.0.0.10 fluxer.ghostnet.selfhost.eu" dns_pihole_database_max_db_days: 30 dns_pihole_service_name: pihole.service dns_pihole_quadlet_path: /etc/containers/systemd/pihole.container diff --git a/proxmox/lxc/ct-102-keycloak/ansible/roles/keycloak_realm_config/defaults/main.yml b/proxmox/lxc/ct-102-keycloak/ansible/roles/keycloak_realm_config/defaults/main.yml index ea0944e..4201bc4 100644 --- a/proxmox/lxc/ct-102-keycloak/ansible/roles/keycloak_realm_config/defaults/main.yml +++ b/proxmox/lxc/ct-102-keycloak/ansible/roles/keycloak_realm_config/defaults/main.yml @@ -38,11 +38,11 @@ keycloak_realm_research_mapper: # Callback-Pfad der Fluxer-App: /auth/sso/callback. keycloak_realm_fluxer_client: clientId: fluxer - name: Ghostnet Fluxer (chat.ghostnet.selfhost.eu) - rootUrl: https://chat.ghostnet.selfhost.eu + name: Ghostnet Fluxer (fluxer.ghostnet.selfhost.eu) + rootUrl: https://fluxer.ghostnet.selfhost.eu redirectUris: - - https://chat.ghostnet.selfhost.eu/auth/sso/callback - - https://chat.ghostnet.selfhost.eu/auth/sso/callback/* + - https://fluxer.ghostnet.selfhost.eu/auth/sso/callback + - https://fluxer.ghostnet.selfhost.eu/auth/sso/callback/* webOrigins: - - https://chat.ghostnet.selfhost.eu - postLogoutRedirectUris: "https://chat.ghostnet.selfhost.eu/*" + - https://fluxer.ghostnet.selfhost.eu + postLogoutRedirectUris: "https://fluxer.ghostnet.selfhost.eu/*" diff --git a/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/README.md b/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/README.md index 86afd4c..78172db 100644 --- a/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/README.md +++ b/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/README.md @@ -1,7 +1,7 @@ # reverse_proxy_fluxer_vhost NPM proxy host + Let's-Encrypt certificate for the Fluxer instance -`chat.ghostnet.selfhost.eu` → `10.0.0.62:8080` (CT 117 app-proxy), with a +`fluxer.ghostnet.selfhost.eu` → `10.0.0.62:8080` (CT 117 app-proxy), with a `/livekit/` location to `10.0.0.62:7880` and WebSocket/long-timeout settings for the gateway and LiveKit signaling. Same NPM-API sync pattern as `reverse_proxy_research_vhost` (GNAI-023 M8-T3), including the Fail2Ban diff --git a/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/defaults/main.yml b/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/defaults/main.yml index bc2613d..b1d983e 100644 --- a/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/defaults/main.yml +++ b/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/defaults/main.yml @@ -11,7 +11,7 @@ reverse_proxy_fluxer_npm_api: http://127.0.0.1:81/api reverse_proxy_fluxer_api_env_file: /etc/nginx-proxy-manager/api.env -reverse_proxy_fluxer_domain: chat.ghostnet.selfhost.eu +reverse_proxy_fluxer_domain: fluxer.ghostnet.selfhost.eu reverse_proxy_fluxer_upstream_host: 10.0.0.62 reverse_proxy_fluxer_upstream_port: 8080 reverse_proxy_fluxer_upstream_scheme: http diff --git a/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/files/npm_fluxer_vhost.py b/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/files/npm_fluxer_vhost.py index 946a0bc..b4cda1d 100644 --- a/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/files/npm_fluxer_vhost.py +++ b/proxmox/lxc/ct-103-reverse-proxy/ansible/roles/reverse_proxy_fluxer_vhost/files/npm_fluxer_vhost.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -"""Idempotent NPM proxy-host + LE certificate for chat.ghostnet.selfhost.eu +"""Idempotent NPM proxy-host + LE certificate for fluxer.ghostnet.selfhost.eu (Fluxer on CT 117, GNAI-025). Usage: npm_fluxer_vhost.py diff --git a/proxmox/lxc/ct-117-fluxer/README.md b/proxmox/lxc/ct-117-fluxer/README.md index 36ca419..8972989 100644 --- a/proxmox/lxc/ct-117-fluxer/README.md +++ b/proxmox/lxc/ct-117-fluxer/README.md @@ -3,7 +3,7 @@ Self-hosted Fluxer instance (AGPL chat + VoIP) for the operator's friend circle, planned as unprivileged Debian 13 LXC `fluxer` (`10.0.0.62`, 4 cores / 8192 MiB / 64 GiB) in the proven Podman LXC schema, publicly -reachable as `https://chat.ghostnet.selfhost.eu` via the CT 103 NPM edge, +reachable as `https://fluxer.ghostnet.selfhost.eu` via the CT 103 NPM edge, with Keycloak (CT 102) OIDC SSO. Plan and feasibility study: `docs/platform/proxmox-server/lxc/ct-117-fluxer/GNAI-025-PLAN_Fluxer-LXC.md`. diff --git a/proxmox/lxc/ct-117-fluxer/ansible/README.md b/proxmox/lxc/ct-117-fluxer/ansible/README.md index e522c4f..55a11f8 100644 --- a/proxmox/lxc/ct-117-fluxer/ansible/README.md +++ b/proxmox/lxc/ct-117-fluxer/ansible/README.md @@ -57,8 +57,8 @@ CT 101/114 procedure: issuer/client/secret in the Fluxer admin panel (`/admin`) and disable open registration (invite-only). 6. NPM: converge `reverse_proxy_fluxer_vhost` on CT 103 for - `chat.ghostnet.selfhost.eu` → `10.0.0.62:8080`; add the Pi-hole split-DNS - record `chat.ghostnet.selfhost.eu → 10.0.0.10`; FRITZ!Box forwards the + `fluxer.ghostnet.selfhost.eu` → `10.0.0.62:8080`; add the Pi-hole split-DNS + record `fluxer.ghostnet.selfhost.eu → 10.0.0.10`; FRITZ!Box forwards the LiveKit media ports to `10.0.0.62` iff voice is enabled. The stack is started by `site.yml` only on inventories with diff --git a/proxmox/lxc/ct-117-fluxer/ansible/inventories/agent/group_vars/fluxer_hosts.yml b/proxmox/lxc/ct-117-fluxer/ansible/inventories/agent/group_vars/fluxer_hosts.yml index cbbcc12..9bd708f 100644 --- a/proxmox/lxc/ct-117-fluxer/ansible/inventories/agent/group_vars/fluxer_hosts.yml +++ b/proxmox/lxc/ct-117-fluxer/ansible/inventories/agent/group_vars/fluxer_hosts.yml @@ -18,7 +18,7 @@ fluxer_firewall_ssh_port: 22 fluxer_access_source_networks: 10.0.0.0/24,10.8.0.0/24 -fluxer_stack_public_domain: chat.ghostnet.selfhost.eu +fluxer_stack_public_domain: fluxer.ghostnet.selfhost.eu fluxer_stack_public_scheme: https fluxer_stack_public_port: 443 fluxer_stack_app_proxy_port: 8080 diff --git a/proxmox/lxc/ct-117-fluxer/ansible/inventories/bootstrap/group_vars/fluxer_hosts.yml b/proxmox/lxc/ct-117-fluxer/ansible/inventories/bootstrap/group_vars/fluxer_hosts.yml index cbbcc12..9bd708f 100644 --- a/proxmox/lxc/ct-117-fluxer/ansible/inventories/bootstrap/group_vars/fluxer_hosts.yml +++ b/proxmox/lxc/ct-117-fluxer/ansible/inventories/bootstrap/group_vars/fluxer_hosts.yml @@ -18,7 +18,7 @@ fluxer_firewall_ssh_port: 22 fluxer_access_source_networks: 10.0.0.0/24,10.8.0.0/24 -fluxer_stack_public_domain: chat.ghostnet.selfhost.eu +fluxer_stack_public_domain: fluxer.ghostnet.selfhost.eu fluxer_stack_public_scheme: https fluxer_stack_public_port: 443 fluxer_stack_app_proxy_port: 8080 diff --git a/proxmox/lxc/ct-117-fluxer/ansible/inventories/production/group_vars/fluxer_hosts.yml b/proxmox/lxc/ct-117-fluxer/ansible/inventories/production/group_vars/fluxer_hosts.yml index 9e787e8..10c2f68 100644 --- a/proxmox/lxc/ct-117-fluxer/ansible/inventories/production/group_vars/fluxer_hosts.yml +++ b/proxmox/lxc/ct-117-fluxer/ansible/inventories/production/group_vars/fluxer_hosts.yml @@ -20,7 +20,7 @@ fluxer_access_source_networks: 10.0.0.0/24,10.8.0.0/24 # Public identity of the instance (GNAI-025 Abschnitt 3). NPM on CT 103 # terminates TLS for this domain and proxies to 10.0.0.62:8080 (app-proxy). -fluxer_stack_public_domain: chat.ghostnet.selfhost.eu +fluxer_stack_public_domain: fluxer.ghostnet.selfhost.eu fluxer_stack_public_scheme: https fluxer_stack_public_port: 443 fluxer_stack_app_proxy_port: 8080 diff --git a/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/defaults/main.yml b/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/defaults/main.yml index 51f22d7..4f8a7bf 100644 --- a/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/defaults/main.yml +++ b/proxmox/lxc/ct-117-fluxer/ansible/roles/fluxer_stack/defaults/main.yml @@ -37,7 +37,7 @@ fluxer_stack_images: [] # Pull=never semantics: the override sets pull_policy: never per service. # Public identity (NPM on CT 103 terminates TLS and proxies here). -fluxer_stack_public_domain: chat.ghostnet.selfhost.eu +fluxer_stack_public_domain: fluxer.ghostnet.selfhost.eu fluxer_stack_public_scheme: https fluxer_stack_public_port: 443 fluxer_stack_app_proxy_port: 8080