fix(service): navidrome service
- fixed URL issue as it was set to an empty string which caused a 404 error - removed port mapping as it is not needed and insecure - formatted the Compose file
This commit is contained in:
@@ -6,22 +6,20 @@
|
||||
|
||||
services:
|
||||
navidrome:
|
||||
image: 'deluan/navidrome:latest'
|
||||
ports:
|
||||
- '4533:4533'
|
||||
image: deluan/navidrome:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- SERVICE_FQDN_NAVIDROME_4533
|
||||
- ND_BASEURL=${SERVICE_FQDN_NAVIDROME}
|
||||
- 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'
|
||||
- "./data:/data"
|
||||
- "./music:/music:ro"
|
||||
healthcheck:
|
||||
test: ['CMD', 'wget', '--spider', '--quiet', 'http://127.0.0.1:4533/ping']
|
||||
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