Files
navidrome-litefs/litefs.yml
sstent bb18672bfc
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 39s
fix: use local DataFolder with symlinks to LiteFS DB
2026-04-28 13:08:56 -07:00

27 lines
491 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-v6"
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"