All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 34s
33 lines
566 B
YAML
33 lines
566 B
YAML
# LiteFS configuration for Navidrome
|
|
fuse:
|
|
dir: "/data"
|
|
|
|
data:
|
|
dir: "/var/lib/litefs"
|
|
|
|
# Use Consul for leader election
|
|
lease:
|
|
type: "consul"
|
|
advertise-url: "http://${ADVERTISE_IP}:20202"
|
|
consul:
|
|
url: "${CONSUL_URL}"
|
|
key: "litefs/navidrome"
|
|
|
|
# Internal HTTP API for replication
|
|
http:
|
|
addr: ":20202"
|
|
|
|
# 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"
|