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
|
# 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:
|
||||||
|
|||||||
@@ -10,6 +10,13 @@ job "navidrome-litefs" {
|
|||||||
group "navidrome" {
|
group "navidrome" {
|
||||||
count = 2
|
count = 2
|
||||||
|
|
||||||
|
update {
|
||||||
|
max_parallel = 1
|
||||||
|
min_healthy_time = "30s"
|
||||||
|
healthy_deadline = "5m"
|
||||||
|
auto_revert = false
|
||||||
|
}
|
||||||
|
|
||||||
constraint {
|
constraint {
|
||||||
distinct_hosts = true
|
distinct_hosts = true
|
||||||
}
|
}
|
||||||
@@ -39,8 +46,9 @@ job "navidrome-litefs" {
|
|||||||
|
|
||||||
env {
|
env {
|
||||||
# LiteFS Config
|
# LiteFS Config
|
||||||
CONSUL_URL = "http://${attr.unique.network.ip-address}:8500"
|
CONSUL_URL = "http://${attr.unique.network.ip-address}:8500"
|
||||||
PORT = "${NOMAD_PORT_http}"
|
ADVERTISE_IP = "${attr.unique.network.ip-address}"
|
||||||
|
PORT = "${NOMAD_PORT_http}"
|
||||||
|
|
||||||
# Navidrome Config
|
# Navidrome Config
|
||||||
ND_DATAFOLDER = "/local/data"
|
ND_DATAFOLDER = "/local/data"
|
||||||
|
|||||||
Reference in New Issue
Block a user