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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user