Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
178afc6306 | ||
|
|
e8c8bbd721 | ||
|
|
cb3d18832e | ||
|
|
936eca2835 | ||
|
|
96eff362f8 |
+3
-3
@@ -6,7 +6,7 @@ steps:
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: {{ .Name }}
|
||||
stack: navidrome
|
||||
generate_secrets: true
|
||||
purge: true
|
||||
deploy_key:
|
||||
@@ -14,8 +14,8 @@ steps:
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
DOMAIN: {{ .Name }}.swarm-test.autonomic.zone
|
||||
STACK_NAME: {{ .Name }}
|
||||
DOMAIN: navidrome.swarm-test.autonomic.zone
|
||||
STACK_NAME: navidrome
|
||||
LETS_ENCRYPT_ENV: production
|
||||
EXTRA_VOLUME: "/dev/null:/tmp/.dummy"
|
||||
trigger:
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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!
|
||||
|
||||
@@ -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:
|
||||
+7
-5
@@ -3,16 +3,17 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: deluan/navidrome:0.58.0
|
||||
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:
|
||||
@@ -25,13 +26,14 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.0+0.58.0"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectscheme.permanent=true"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.4.0+0.60.3"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
volumes:
|
||||
navidrome_data:
|
||||
navidrome_music:
|
||||
|
||||
Reference in New Issue
Block a user