feat: add .env configuration with example template and update documentation

Add .env.example template with all configuration options (Radarr, Sonarr, SABnzbd). Move environment variables from docker-compose.yml to .env file for easier configuration management. Add .gitignore for .env, data/, and Python cache files. Update README with setup instructions for copying .env.example and configuring services. Replace hardcoded volume paths with environment variables in docker-compose.yml.
This commit is contained in:
2026-08-13 11:02:12 +02:00
parent f78944795c
commit f52fdf747c
4 changed files with 41 additions and 25 deletions
+13 -1
View File
@@ -22,9 +22,21 @@ wird dadurch für ffprobe zu:
`/media/filme/Avatar (2009)/Avatar.mkv`
## Konfiguration
Die persönlichen URLs, Pfade und API-Keys liegen in `.env`. Diese Datei ist in `.gitignore` eingetragen und bleibt bei `git pull` erhalten. Als Vorlage dient `.env.example`.
Beim ersten Start:
```bash
cp .env.example .env
```
Danach die Werte in `.env` eintragen. Sonarr und SABnzbd werden dort durch Auskommentieren der jeweiligen Variablen aktiviert.
## Start
API-Key und ggf. Docker-Netz in `docker-compose.yml` anpassen:
API-Keys und Pfade in `.env` anpassen:
```bash
docker compose down