fix: use IP for advertise-url
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 54s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 54s
This commit is contained in:
@@ -15,6 +15,7 @@ lease:
|
||||
# Internal HTTP API for replication
|
||||
http:
|
||||
addr: ":20202"
|
||||
advertise-url: "http://${ADVERTISE_IP}:20202"
|
||||
|
||||
# The HTTP Proxy routes traffic to handle write-forwarding
|
||||
proxy:
|
||||
|
||||
@@ -10,6 +10,13 @@ job "navidrome-litefs" {
|
||||
group "navidrome" {
|
||||
count = 2
|
||||
|
||||
update {
|
||||
max_parallel = 1
|
||||
min_healthy_time = "30s"
|
||||
healthy_deadline = "5m"
|
||||
auto_revert = false
|
||||
}
|
||||
|
||||
constraint {
|
||||
distinct_hosts = true
|
||||
}
|
||||
@@ -39,8 +46,9 @@ job "navidrome-litefs" {
|
||||
|
||||
env {
|
||||
# LiteFS Config
|
||||
CONSUL_URL = "http://${attr.unique.network.ip-address}:8500"
|
||||
PORT = "${NOMAD_PORT_http}"
|
||||
CONSUL_URL = "http://${attr.unique.network.ip-address}:8500"
|
||||
ADVERTISE_IP = "${attr.unique.network.ip-address}"
|
||||
PORT = "${NOMAD_PORT_http}"
|
||||
|
||||
# Navidrome Config
|
||||
ND_DATAFOLDER = "/local/data"
|
||||
|
||||
Reference in New Issue
Block a user