trading-system-docs/notes/trading/system-docs/infrastructure-handbook.md
Red Queen 022c30e537 feat(tolaria): migrate C3H HR wave 1 — 16 safe root↔canonical pairs to schema v1
C3H HUMAN REVIEW WAVE 1: migriert 16 freigegebene HR-A PAIR_MIGRATION_SAFE Paare.
Pro Pair: Root (representation=source) + Canonical (representation=canonical,
derived_from=Root-ID) atomar. Body byte-genau unveraendert. IDs stabil aus
C3 Mapping Preview v2. modul-12/18/19/vps.md NICHT angefasst.
Knowledge schema v1. (Red Queen)
2026-08-25 19:19:02 +00:00

64 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
knowledge_schema: 1
id: object/5fcf4885-a361-f49f-2164-f4e10709da34
type: arch
role: reference
representation: canonical
state: current
derived_from: object/f4e559f5-403c-f241-be50-0962d8174644
_organized: true
---
# Infrastruktur & Betriebs-Handbuch — Trading-System VPS
> Stand: 20.08.2026 · VPS: `187.124.31.123`
## Multi-Agent-Architektur (Resident-Evil-Theme)
| Agent | Plattform | Rolle | Port |
|-------|-----------|-------|------|
| **Alice** | OpenClaw (primary) | Hauptagent, Protagonistin | 55163 |
| **Matt Addison** | OpenClaw (backup) | Backup/Support | 54524 |
| **Rain Ocampo** | Hermes (support) | Technischer Support | 32776 (UI) |
Notation in Notion/Forgejo bei JEDER Änderung:
```
Geändert von: [Alice | Rain Ocampo]
Datum: DD.MM.YYYY HH:MM
Grund: …
```
## Container-Verwaltung (via SSH)
```bash
ssh root@187.124.31.123
docker compose -f /opt/trading-modules/docker-compose.yml ps
docker compose -f /opt/trading-modules/docker-compose.yml up -d <service>
docker compose -f /opt/trading-modules/docker-compose.yml build <service>
docker compose -f /opt/trading-modules/docker-compose.yml down # nur bei explizitem Wunsch
```
## Trading-Module (17 Container)
- Compose: `/opt/trading-modules/docker-compose.yml`
- Container-Namen exakt: `Modul-01-PostgreSQL``Modul-17-Hermes-Agent`
- Netzwerk: `trading-modules`
- Modul-01 = PostgreSQL 16-alpine (Host 55432)
- Modul-02 = RabbitMQ 3-management (Host 55672/15672, vhost `trading`)
- Modul-03 = Market-Data (FastAPI, Port 55003 intern, **nicht öffentlich**)
- Modul-0417 = alpine-Platzhalter (bis ausgebaut)
## Wichtige Hinweise
- **Coolify überschreibt Container-Configs bei Neustart.** Config-Änderungen an OpenClaw ausschließlich über Config-Dateien (nicht UI).
- **Hot-Reload** OpenClaw: `kill -HUP 1` im Container.
- **Ollama** braucht `OLLAMA_API_KEY`; interner Hostname `ollama-nb6d-ollama-1:11434`.
- VPS-Authentifizierung: **nur Public-Key-Auth**.
## Deleted Resources (VPS-Aufräumung 20.08.2026)
Folgendes wurde entfernt (~25 GB freigegeben): Chronos/Kronos (kronos-api, chronos-service, chronos-tradelog), trading-bridge, llm-trade-manager, deepseek-bot, MetaTrader-5, t212-pilot, mehrere redundante Hermes-Container/Volumes/Netzwerke. **Bleibt:** n8n, forgejo, paperclip, Tolaria, PostgreSQL, RabbitMQ, Ollama, Traefik, Coolify-Suite.
---
```
Geändert von: Rain Ocampo
Datum: 20.08.2026
Grund: Infrastruktur-Handbuch für das Trading-System dokumentiert.
```