fix: move advertise-url to lease block
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 34s

This commit is contained in:
2026-02-07 17:03:54 -08:00
parent ba129558df
commit 264c6fc8db

View File

@@ -8,6 +8,7 @@ data:
# Use Consul for leader election # Use Consul for leader election
lease: lease:
type: "consul" type: "consul"
advertise-url: "http://${ADVERTISE_IP}:20202"
consul: consul:
url: "${CONSUL_URL}" url: "${CONSUL_URL}"
key: "litefs/navidrome" key: "litefs/navidrome"
@@ -15,7 +16,6 @@ lease:
# Internal HTTP API for replication # Internal HTTP API for replication
http: http:
addr: ":20202" addr: ":20202"
advertise-url: "http://${ADVERTISE_IP}:20202"
# The HTTP Proxy routes traffic to handle write-forwarding # The HTTP Proxy routes traffic to handle write-forwarding
proxy: proxy: