feat(service): add Navidrome service template (#5022)
This commit is contained in:
27
templates/compose/navidrome.yaml
Normal file
27
templates/compose/navidrome.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# documentation: https://www.navidrome.org/docs/
|
||||
# slogan: Standalone server, that allows you to browse and listen to your music collection using a web browser or any Subsonic-compatible client.
|
||||
# tags: media, server, music, subsonic
|
||||
# logo: svgs/navidrome.svg
|
||||
# port: 4533
|
||||
|
||||
services:
|
||||
navidrome:
|
||||
image: 'deluan/navidrome:latest'
|
||||
ports:
|
||||
- '4533:4533'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SERVICE_FQDN_NAVIDROME_4533
|
||||
- ND_SCANSCHEDULE=${ND_SCANSCHEDULE:-1h}
|
||||
- ND_LOGLEVEL=${ND_LOGLEVEL:-info}
|
||||
- ND_SESSIONTIMEOUT=${ND_SESSIONTIMEOUT:-24h}
|
||||
- ND_BASEURL=${ND_BASEURL:-""}
|
||||
- ND_ENABLEINSIGHTSCOLLECTOR=${ND_ENABLEINSIGHTSCOLLECTOR:-false}
|
||||
volumes:
|
||||
- './data:/data'
|
||||
- './music:/music:ro'
|
||||
healthcheck:
|
||||
test: ['CMD', 'wget', '--spider', '--quiet', 'http://127.0.0.1:4533/ping']
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
Reference in New Issue
Block a user