feat: add .env.example and fix .gitignore to track it

The README instructs `cp .env.example .env` but no template was committed;
the .gitignore also excluded .env.* which would have hidden it.

- Add .env.example with DB_PASSWORD, SECRET_KEY, JELLYFIN_URL, JELLYFIN_API_KEY
- Add !.env.example exception to .gitignore so the template is tracked

Closes DAP-43.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Paperclip CEO Agent
2026-06-18 19:54:07 +02:00
parent 6c7c63e5c8
commit ef8a023f85
2 changed files with 14 additions and 0 deletions

13
.env.example Normal file
View File

@@ -0,0 +1,13 @@
# Projekt Kino Beispielkonfiguration
# Kopiere diese Datei und passe die Werte an:
# cp .env.example .env
# PostgreSQL-Passwort (auch in docker-compose.yml verwendet)
DB_PASSWORD=kino
# Geheimer Schlüssel für die Backend-Sitzungen in Produktion ändern!
SECRET_KEY=changeme
# Jellyfin-Verbindung (optional der Client ist inaktiv, wenn nicht gesetzt)
JELLYFIN_URL=http://localhost:8096
JELLYFIN_API_KEY=

1
.gitignore vendored
View File

@@ -2,6 +2,7 @@
node_modules/
.env
.env.*
!.env.example
.DS_Store
__pycache__/
*.pyc