Files
navidrome-litefs/litefs.yml
sstent 4d46d96760
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 33s
fix: add static clusterid to litefs config
2026-02-07 16:42:28 -08:00

31 lines
521 B
YAML

# LiteFS configuration for Navidrome
fuse:
dir: "/data"
data:
dir: "/var/lib/litefs"
# Static cluster ID to prevent mismatches
clusterid: "NAV001"
# Use Consul for leader election
lease:
type: "consul"
consul:
url: "${CONSUL_URL}"
key: "litefs/navidrome"
# The HTTP Proxy routes traffic to handle write-forwarding
proxy:
addr: ":${PORT}"
target: "localhost:4533"
db: "navidrome.db"
passthrough:
- "*.js"
- "*.css"
- "*.png"
- "*.jpg"
- "*.jpeg"
- "*.gif"
- "*.svg"