feat: migrate to LiteFS-supervised container architecture
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m2s

This commit is contained in:
2026-02-07 16:38:38 -08:00
parent 11ebd95956
commit 21598113e4
4 changed files with 196 additions and 0 deletions

27
litefs.yml Normal file
View File

@@ -0,0 +1,27 @@
# LiteFS configuration for Navidrome
fuse:
dir: "/data"
data:
dir: "/var/lib/litefs"
# 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"