feat: Michess – Initiales Setup auf Basis von chessu

- Rebranding: chessu → Michess (Header, Footer, Metadata, Session-Cookie)
- Stockfish KI-Integration: 6 Schwierigkeitsgrade (Anfänger bis Meister)
- Admin-Panel: Nutzerverwaltung, Sperren/Entsperren, Git-Pull-Update
- Freundessystem: Anfragen, Freundesliste, Nutzersuche
- DB-Schema: role, banned, friend_request, friendship Tabellen
- Docker: NAS-optimiertes docker-compose.yml mit PostgreSQL Healthcheck
- Stockfish binary via apk im Alpine-Image installiert
- .env.example für einfaches Deployment
- scripts/update.sh für manuelles NAS-Update
- Brain.md + Plan.md als Projekt-Gedächtnis

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Michess
2026-04-13 10:02:52 +02:00
parent 29968f023d
commit 7dac042d73
28 changed files with 1760 additions and 89 deletions

26
.env.example Normal file
View File

@@ -0,0 +1,26 @@
# ============================================
# Michess Konfigurationsdatei
# Kopiere diese Datei nach .env und passe sie an
# ============================================
# Datenbank
POSTGRES_DB=michess
POSTGRES_USER=michess
POSTGRES_PASSWORD=sicheres_passwort_hier
# Session (mindestens 32 zufällige Zeichen)
SESSION_SECRET=aendere_mich_in_produktion_mindestens_32_zeichen
# CORS: URL unter der das Frontend erreichbar ist
CORS_ORIGIN=http://deine-nas-ip:3000
# Admin: Diese E-Mail-Adresse bekommt automatisch Admin-Rechte
ADMIN_EMAIL=admin@example.com
# Ports (optional, Standard: 3000 + 3001)
MICHESS_PORT=3000
MICHESS_API_PORT=3001
# App-URL (für Next.js Metadaten)
NEXT_PUBLIC_APP_URL=http://deine-nas-ip:3000
NEXT_PUBLIC_API_URL=http://deine-nas-ip:3001