add beets support #1

Merged
ammaratef45 merged 1 commits from beets into main 2026-02-11 02:47:29 +00:00
4 changed files with 41 additions and 1 deletions

View File

@ -9,3 +9,8 @@ EXTRA_VOLUME="/dev/null:/tmp/.dummy"
#EXTRA_DOMAINS=', `www.navidrome.example.com`'
LETS_ENCRYPT_ENV=production
COMPOSE_FILE="compose.yml"
## Add a beets container
# COMPOSE_FILE="$COMPOSE_FILE:compose.beets.yml"

View File

@ -23,3 +23,15 @@
* `abra app deploy <app-name>`
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
View 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:

View File

@ -6,13 +6,14 @@ services:
image: deluan/navidrome:0.60.3
networks:
- proxy
- internal
volumes:
- navidrome_data:/data
- navidrome_music:/music:ro
- "${EXTRA_VOLUME}"
environment:
ND_SCANSCHEDULE: 1h
ND_LOGLEVEL: info
ND_LOGLEVEL: info
ND_SESSIONTIMEOUT: 24h
ND_BASEURL: "https://${DOMAIN}"
deploy:
@ -32,6 +33,7 @@ services:
networks:
proxy:
external: true
internal:
volumes:
navidrome_data:
navidrome_music: