Mehrere Subdomains pro Benutzer + README

- subdomains-Tabelle (n DNS-Namen je Benutzer) inkl. Migration vom alten
  Einzel-Subdomain-Schema in database.init_db()
- Benutzeranlage/Verwaltung: mehrere Subdomains hinzufuegen/entfernen
- /nic/update aktualisiert alle Subdomains des Benutzers bzw. die per
  ?hostname= gewaehlte(n); eine Antwortzeile je Subdomain
- Dashboard/Users-Templates auf das neue Modell umgestellt
- README.md mit Setup, Plesk-Konfig, Router-Einrichtung und Endpoint-Doku
- .gitignore: __pycache__/ und *.pyc

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Stefan Hacker
2026-06-06 14:13:48 +02:00
parent 2542cf5455
commit 9c631992af
7 changed files with 472 additions and 109 deletions
+2 -2
View File
@@ -4,9 +4,9 @@ services:
container_name: dyndns-manager
restart: unless-stopped
ports:
- "127.0.0.1:5080:5000" # nur lokal nginx macht den TLS-Termination
- "5080:5000" # nur lokal nginx macht den TLS-Termination
environment:
- DB_PATH=/data/dyndns.db
- SECRET_KEY=BITTE_AENDERN_32_ZEICHEN_RANDOM # openssl rand -hex 32
volumes:
- ./dyndns.db:/data/dyndns.db # SQLite liegt neben der docker-compose.yml
- ./data:/data # SQLite-DB landet in ./data/dyndns.db (Verzeichnis-Mount!)