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:
@@ -24,6 +24,7 @@ job "navidrome-litefs" {
|
||||
network {
|
||||
mode = "host"
|
||||
port "http" {}
|
||||
port "litefs" {}
|
||||
}
|
||||
|
||||
task "navidrome" {
|
||||
@@ -49,6 +50,7 @@ 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"
|
||||
|
||||
Reference in New Issue
Block a user