All checks were successful
Deploy GSM / deploy (push) Successful in 41s
- Add ShowPlayers RCON command handling for Palworld servers - Update SSH access documentation with jump host instructions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
53 lines
2.6 KiB
Markdown
53 lines
2.6 KiB
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Repository Purpose
|
|
|
|
This is a documentation repository for a homelab infrastructure. It contains technical documentation for servers, services, and network configuration - no application code.
|
|
|
|
## Infrastructure Overview
|
|
|
|
The homelab consists of:
|
|
- **Raspberry Pi (192.168.2.10)**: Runs Nginx Proxy Manager, Cloudflare DDNS, and Nextcloud via Docker
|
|
- **Proxmox Server (192.168.2.20)**: Virtualization host running LXC containers and VMs
|
|
- **Gameserver Monitor (192.168.2.30)**: React/Node.js webapp for monitoring game servers (LXC)
|
|
- **Factorio Server (192.168.2.50)**: Docker-based game server (LXC)
|
|
- **Minecraft Server (192.168.2.51)**: ATM10 modded server running via screen (VM)
|
|
- **V Rising Server (192.168.2.52)**: Dedicated server (LXC)
|
|
- **Palworld Server (192.168.2.53)**: Dedicated server with systemd (LXC)
|
|
- **Project Zomboid Server (10.0.30.66)**: Dedicated server (external VM)
|
|
- **Terraria Server (10.0.30.202)**: Vanilla server mit PM2 (external VM, VPN)
|
|
|
|
## Key Technical Details
|
|
|
|
**Gameserver Monitor Stack**: React + Vite + TailwindCSS frontend, Node.js + Express backend, SQLite for auth, nginx as reverse proxy. Located at `/opt/gameserver-monitor/` on the monitor LXC.
|
|
|
|
**Gameserver Monitor Rollensystem**:
|
|
- `user`: Kann nur Server-Metriken sehen (CPU, RAM, Players, Uptime)
|
|
- `moderator`: Zusätzlich Konsole, RCON, Server Start/Stop/Restart, Auto-Shutdown, Config-Editoren
|
|
- `superadmin`: Zusätzlich Nutzerverwaltung, Activity Log, Anzeigeeinstellungen (Verbindungsadresse/Hinweis pro Server)
|
|
|
|
**GSM Features**:
|
|
- Dashboard mit Server-Karten (Status, Metriken, Spieleranzahl)
|
|
- Server-Detailansicht mit Tabs (Übersicht, Metriken, Konsole, Einstellungen, etc.)
|
|
- Auto-Shutdown: Server stoppt automatisch wenn keine Spieler online sind
|
|
- Config-Editoren: Palworld (INI), Project Zomboid (INI/Lua)
|
|
- Factorio Weltverwaltung: Spielstände erstellen/löschen/laden
|
|
- Minecraft Whitelist-Verwaltung via RCON
|
|
- Anzeigeeinstellungen: Superadmins können Verbindungsadresse und Hinweis pro Server anpassen
|
|
- Activity Log: Protokolliert alle Aktionen mit Discord-Avatar
|
|
|
|
**Domain**: zeasy.dev with subdomains managed via Cloudflare DDNS (gsm.zeasy.dev, factorio.zeasy.dev, palworld.zeasy.dev, pz.zeasy.dev)
|
|
|
|
**SSH Access**: Zugriff auf Server erfolgt über den Pi als Jump-Host:
|
|
```bash
|
|
ssh alex@192.168.2.10 # Erst auf den Pi
|
|
ssh root@192.168.2.XX # Dann zum Zielserver (z.B. .53 für Palworld)
|
|
```
|
|
Oder in einem Befehl: `ssh alex@192.168.2.10 "ssh root@192.168.2.53 'befehl'"`
|
|
|
|
## Language Note
|
|
|
|
Documentation is written in German.
|