fix: hardcode port 8081 for replication
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 54s

This commit is contained in:
2026-02-07 17:18:36 -08:00
parent 4e75d4153b
commit fa838f21c0
2 changed files with 2 additions and 4 deletions

View File

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

View File

@@ -24,7 +24,6 @@ job "navidrome-litefs" {
network {
mode = "host"
port "http" {}
port "litefs" {}
}
task "navidrome" {
@@ -50,7 +49,6 @@ job "navidrome-litefs" {
CONSUL_URL = "http://${attr.unique.network.ip-address}:8500"
ADVERTISE_IP = "${attr.unique.network.ip-address}"
PORT = "${NOMAD_PORT_http}"
LITEFS_PORT = "${NOMAD_PORT_litefs}"
# Navidrome Config
ND_DATAFOLDER = "/local/data"