56 lines
2.3 KiB
Markdown
56 lines
2.3 KiB
Markdown
---
|
||
type: Trading-Modul-System
|
||
_organized: true
|
||
---
|
||
|
||
# Infrastruktur & Betriebs-Handbuch — Modul-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-04–17 = 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.
|
||
```
|