feat: migrate to LiteFS-supervised container architecture
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m2s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m2s
This commit is contained in:
27
litefs.yml
Normal file
27
litefs.yml
Normal 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"
|
||||
Reference in New Issue
Block a user