fix: align litefs replication to port 20202
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 37s

This commit is contained in:
2026-02-07 19:00:46 -08:00
parent 0af6a3270e
commit 3eaa84872c
2 changed files with 9 additions and 6 deletions

View File

@@ -8,18 +8,16 @@ data:
# Use Consul for leader election
lease:
type: "consul"
advertise-url: "http://${ADVERTISE_IP}:8081"
advertise-url: "http://${ADVERTISE_IP}:20202"
consul:
url: "${CONSUL_URL}"
key: "litefs/navidrome"
# Internal HTTP API for replication
http:
addr: "0.0.0.0:8081"
addr: "0.0.0.0:20202"
# The HTTP Proxy routes traffic to handle write-forwarding
# It listens on 8080 inside the container.
# Nomad will map host 4533 to this port.
proxy:
addr: ":8080"
target: "localhost:4533"
@@ -31,4 +29,9 @@ proxy:
- "*.jpg"
- "*.jpeg"
- "*.gif"
- "*.svg"
- "*.svg"
# Commands to run only on the primary node.
# This serves as a primary-only health check responder.
# exec:
# - cmd: "nc -lk -p 8082 -e echo -e 'HTTP/1.1 200 OK\r\nContent-Length: 7\r\n\r\nPrimary'"