add beets support
This commit is contained in:
parent
3b792bc54a
commit
4ca05459b1
@ -6,3 +6,8 @@ DOMAIN=navidrome.example.com
|
|||||||
#EXTRA_DOMAINS=', `www.navidrome.example.com`'
|
#EXTRA_DOMAINS=', `www.navidrome.example.com`'
|
||||||
|
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
|
|
||||||
|
COMPOSE_FILE="compose.yml"
|
||||||
|
|
||||||
|
## Add a beets container
|
||||||
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.beets.yml"
|
||||||
|
14
README.md
14
README.md
@ -5,7 +5,7 @@
|
|||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
|
|
||||||
* **Category**: Apps
|
* **Category**: Apps
|
||||||
* **Status**: 0
|
* **Status**: 1
|
||||||
* **Image**: [`navidrome`](https://hub.docker.com/r/navidrome), 4, upstream
|
* **Image**: [`navidrome`](https://hub.docker.com/r/navidrome), 4, upstream
|
||||||
* **Healthcheck**: No
|
* **Healthcheck**: No
|
||||||
* **Backups**: No
|
* **Backups**: No
|
||||||
@ -22,3 +22,15 @@
|
|||||||
* `abra app deploy <app-name>`
|
* `abra app deploy <app-name>`
|
||||||
|
|
||||||
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
||||||
|
|
||||||
|
## Beets
|
||||||
|
|
||||||
|
[Beets](https://beets.readthedocs.io/en/stable/index.html) is a handy music library organizer.
|
||||||
|
|
||||||
|
To add beets support:
|
||||||
|
- `abra app config <app-name>`
|
||||||
|
- uncomment the line `# COMPOSE_FILE="$COMPOSE_FILE:compose.beets.yml"`
|
||||||
|
- deploy
|
||||||
|
- use `abra app run <app-name> beets bash`
|
||||||
|
|
||||||
|
You will be able to see your music library under `/music` and you can add new music to `/donwload` by adding them to the `beets_ingest` volume then import them using `beet import [-m] /download/{music_folder}` or whatever [beets cli](https://beets.readthedocs.io/en/stable/reference/cli.html) command you want to run!
|
||||||
|
21
compose.beets.yml
Normal file
21
compose.beets.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
beets:
|
||||||
|
image: "lscr.io/linuxserver/beets:2.2.0-ls248"
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
volumes:
|
||||||
|
- navidrome_music:/music
|
||||||
|
- beets_config:/config
|
||||||
|
- beets_ingest:/download
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
beets_config:
|
||||||
|
beets_ingest:
|
@ -6,12 +6,13 @@ services:
|
|||||||
image: deluan/navidrome:pr-3349
|
image: deluan/navidrome:pr-3349
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
- navidrome_data:/data
|
- navidrome_data:/data
|
||||||
- navidrome_music:/music:ro
|
- navidrome_music:/music:ro
|
||||||
environment:
|
environment:
|
||||||
ND_SCANSCHEDULE: 1h
|
ND_SCANSCHEDULE: 1h
|
||||||
ND_LOGLEVEL: info
|
ND_LOGLEVEL: info
|
||||||
ND_SESSIONTIMEOUT: 24h
|
ND_SESSIONTIMEOUT: 24h
|
||||||
ND_BASEURL: "https://${DOMAIN}"
|
ND_BASEURL: "https://${DOMAIN}"
|
||||||
deploy:
|
deploy:
|
||||||
@ -31,6 +32,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
external: true
|
external: true
|
||||||
|
internal:
|
||||||
volumes:
|
volumes:
|
||||||
navidrome_data:
|
navidrome_data:
|
||||||
navidrome_music:
|
navidrome_music:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user