fix: use dynamic port for litefs replication
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 55s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 55s
This commit is contained in:
@@ -8,14 +8,14 @@ data:
|
||||
# Use Consul for leader election
|
||||
lease:
|
||||
type: "consul"
|
||||
advertise-url: "http://${ADVERTISE_IP}:20202"
|
||||
advertise-url: "http://${ADVERTISE_IP}:${LITEFS_PORT}"
|
||||
consul:
|
||||
url: "${CONSUL_URL}"
|
||||
key: "litefs/navidrome"
|
||||
|
||||
# Internal HTTP API for replication
|
||||
http:
|
||||
addr: "0.0.0.0:20202"
|
||||
addr: "0.0.0.0:${LITEFS_PORT}"
|
||||
|
||||
# The HTTP Proxy routes traffic to handle write-forwarding
|
||||
proxy:
|
||||
|
||||
Reference in New Issue
Block a user