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:
13
.env.example
Normal file
13
.env.example
Normal 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
1
.gitignore
vendored
@@ -2,6 +2,7 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
|
!.env.example
|
||||||
.DS_Store
|
.DS_Store
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|||||||
Reference in New Issue
Block a user