Files
navidrome-litefs/litefs.yml
sstent e678120572
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 43s
fix: revert to original data paths and add ND_ARTISTIMAGEFOLDER
2026-04-27 14:07:08 -07:00

27 lines
488 B
YAML

# LiteFS configuration for Navidrome
fuse:
dir: "/data"
data:
dir: "/var/lib/litefs"
# Use Consul for leader election
lease:
type: "consul"
candidate: true
promote: true
advertise-url: "http://${ADVERTISE_IP}:20202"
consul:
url: "${CONSUL_URL}"
key: "litefs/navidrome"
ttl: "30s"
lock-delay: "5s"
# Internal HTTP API for replication
http:
addr: "0.0.0.0:20202"
# Commands to run only on the primary node.
exec:
- cmd: "/usr/local/bin/entrypoint.sh"