- Full backup: game DB, K8s manifests, RMQ config, dashboard schema - AES-256-GCM encryption with PBKDF2 key derivation - Restore wizard with SSH-based deployment to new VM - Dashboard schema backup (bans, audit, chat, player_ips, settings) - Scheduled backups: interval mode (days/hours/mins) or specific days + multiple times - Retention policy (auto-delete oldest backups beyond keep limit) - Password protection with sidecar metadata for preview without unlock - Verify with optional password for encrypted archives - Node resource charts (CPU/memory) with 5-min history on server page - csrfFetch moved to head for correct script execution order
103 lines
3.1 KiB
Markdown
103 lines
3.1 KiB
Markdown
# Dune Awakening Dashboard
|
||
|
||
A modern, full‑featured management dashboard for **Dune: Awakening** private servers. Provides real‑time monitoring, player tools, chat logs, file browsing, admin utilities, and secure remote access.
|
||
|
||
> “A comprehensive web-based management dashboard for Dune: Awakening private servers.”
|
||
|
||
---
|
||
|
||
## Quick Start
|
||
|
||
### **Windows**
|
||
1. Run `launcher.bat` or `.\launcher.ps1`
|
||
2. Select **[2] Run Setup** on first launch
|
||
3. Select **[1] Start Dashboard** to open the UI
|
||
|
||
> The launcher automatically finds your Dune Awakening SSH key and politely ignores PowerShell’s opinions about execution policies.
|
||
|
||
### **Linux / macOS**
|
||
```bash
|
||
chmod +x start.sh
|
||
./start.sh
|
||
```
|
||
|
||
---
|
||
|
||
## Features
|
||
|
||
- **Player Management** (vitals, inventory, vehicles, buildings, guilds, reputation)
|
||
- **Chat Logs** with channel filtering and auto-refresh
|
||
- **Director Tools** (battlegroups, world state, transfers)
|
||
- **SSH File Browser** + **in-browser shell**
|
||
- **Firewall Hardening** via iptables
|
||
- **Auto‑Update** with safe file replacement
|
||
- **HTTPS + Remote Access** (self‑signed or Let’s Encrypt)
|
||
- **Cross‑Platform Launchers**
|
||
- **Organized Logging** with automatic cleanup and redaction
|
||
- **Debug Mode** with full SSH/K8s tracing
|
||
- **SSH Key Rotation** — scan all key locations and sync the newest key
|
||
- **Backup & Restore** — full server snapshots (game DB, K8s resources, RMQ config, dashboard schema) with optional AES-256 encryption and password protection
|
||
- **Scheduled Backups** — configurable interval or day/time-based scheduling with automatic retention cleanup
|
||
|
||
---
|
||
|
||
## Project Structure
|
||
|
||
```
|
||
DuneDashboard/
|
||
├── app/ # Flask/Jinja2 dashboard
|
||
├── launcher.ps1 # Windows launcher
|
||
├── start.sh # Linux/macOS launcher
|
||
└── settings.yaml # Generated config (gitignored)
|
||
```
|
||
|
||
---
|
||
|
||
## Requirements
|
||
|
||
- Python 3.8+
|
||
- OpenSSH client
|
||
- `kubectl` access to your Dune Awakening cluster
|
||
- SSH access to the game server VM
|
||
|
||
---
|
||
|
||
## Security
|
||
|
||
- `settings.yaml` is never committed
|
||
- SSH keys stored with restricted permissions
|
||
- All DB queries parameterized
|
||
- Raw SQL endpoint is **read‑only SELECT**
|
||
- All mutations audited
|
||
- CSP, HSTS, X‑Frame‑Options enforced in production
|
||
|
||
> “Raw SQL query endpoint is read‑only SELECT — INSERT/UPDATE/DELETE… are blocked.”
|
||
> Because letting users run `DROP TABLE` from a web UI is how horror stories begin.
|
||
|
||
---
|
||
|
||
## Development
|
||
|
||
Run `launcher.bat` or `.\launcher.ps1` — the launcher handles dependencies, SSH key configuration, and server setup automatically.
|
||
|
||
---
|
||
|
||
## Branching Strategy
|
||
|
||
- **main** — stable-ish beta
|
||
- **nightly** — latest features
|
||
- **experimental** — where chaos becomes innovation
|
||
|
||
> “This seemed like a great idea at 3am.” — every experimental commit ever
|
||
|
||
---
|
||
|
||
## License
|
||
|
||
Source Available under the **Dune Dashboard Source License (DDSL)**
|
||
- No redistribution
|
||
- No claiming authorship
|
||
- Personal, non-commercial use only
|
||
- Basically: look, learn, enjoy — just don’t repost it as “Dune Dashboard Pro Deluxe Edition”.
|
||
|