Add one-command Unraid start script with template auto-open
This commit is contained in:
parent
87a680326e
commit
fe3601cb5b
2 changed files with 92 additions and 3 deletions
40
README.md
40
README.md
|
|
@ -36,12 +36,39 @@ Danach erreichbar unter: [http://localhost:3000](http://localhost:3000)
|
|||
|
||||
## Unraid: Build + Template automatisch aktualisieren/anlegen
|
||||
|
||||
Einmalig:
|
||||
|
||||
```bash
|
||||
chmod +x scripts/run-unraid.sh
|
||||
./scripts/run-unraid.sh
|
||||
chmod +x start.sh scripts/run-unraid.sh
|
||||
```
|
||||
|
||||
Optional mit eigenen Werten:
|
||||
Danach reicht:
|
||||
|
||||
```bash
|
||||
./start.sh
|
||||
```
|
||||
|
||||
`start.sh` macht:
|
||||
|
||||
- optional `git pull --ff-only` (deaktivierbar mit `SKIP_GIT_PULL=1`)
|
||||
- Build vom Docker-Image
|
||||
- Unraid-Template automatisch erstellen/aktualisieren
|
||||
- direkten Sprung zur Unraid Template-Seite: `Docker/AddContainer?xmlTemplate=user/...`
|
||||
|
||||
Optional kannst du Werte in `.env.unraid` (oder `.env`) ablegen, z. B.:
|
||||
|
||||
```bash
|
||||
SPOTIFY_CLIENT_ID=xxx
|
||||
SPOTIFY_CLIENT_SECRET=yyy
|
||||
LIDARR_URL=http://192.168.1.50:8686
|
||||
LIDARR_API_KEY=zzz
|
||||
LIDARR_ROOT_FOLDER=/music
|
||||
IMAGE_REPO=ghcr.io/dein-user/lidarr-spotify-frontend
|
||||
IMAGE_TAG=latest
|
||||
UNRAID_URL=http://tower
|
||||
```
|
||||
|
||||
Alternativ direkt per Umgebungsvariablen:
|
||||
|
||||
```bash
|
||||
SPOTIFY_CLIENT_ID=xxx \
|
||||
|
|
@ -51,6 +78,13 @@ LIDARR_API_KEY=zzz \
|
|||
LIDARR_ROOT_FOLDER=/music \
|
||||
IMAGE_REPO=ghcr.io/dein-user/lidarr-spotify-frontend \
|
||||
IMAGE_TAG=latest \
|
||||
UNRAID_URL=http://tower \
|
||||
./start.sh
|
||||
```
|
||||
|
||||
Direkt `run-unraid.sh` ausführen (ohne Auto-Open/ohne git pull):
|
||||
|
||||
```bash
|
||||
./scripts/run-unraid.sh
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue