fix(cluster): use new litefs key and local volume, exclude odroid7
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 41s
This commit is contained in:
@@ -13,7 +13,7 @@ job "navidrome-litefs" {
|
||||
}
|
||||
|
||||
group "navidrome" {
|
||||
count = 4
|
||||
count = 3
|
||||
|
||||
update {
|
||||
max_parallel = 1
|
||||
@@ -26,6 +26,12 @@ job "navidrome-litefs" {
|
||||
distinct_hosts = true
|
||||
}
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.unique.hostname}"
|
||||
operator = "!="
|
||||
value = "odroid7"
|
||||
}
|
||||
|
||||
network {
|
||||
# Request static ports on the host
|
||||
port "http" {
|
||||
@@ -48,19 +54,20 @@ job "navidrome-litefs" {
|
||||
force_pull = true
|
||||
|
||||
volumes = [
|
||||
"/mnt/configs/navidrome_litefs:/var/lib/litefs",
|
||||
"/mnt/configs/navidrome_litefs_v2:/var/lib/litefs",
|
||||
"/mnt/Public/configs/navidrome:/data",
|
||||
"/mnt/Public/Downloads/Clean_Music:/music/CleanMusic:ro",
|
||||
"/mnt/Public/Downloads/news/slskd/downloads:/music/slskd:ro",
|
||||
"/mnt/Public/Downloads/incoming_music:/music/incomingmusic:ro"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
env {
|
||||
env {
|
||||
# LiteFS Config
|
||||
CONSUL_URL = "http://${attr.unique.network.ip-address}:8500"
|
||||
ADVERTISE_IP = "${attr.unique.network.ip-address}"
|
||||
PORT = "8080" # Internal proxy port (unused but kept)
|
||||
LITEFS_CONSUL_KEY = "litefs/navidrome-v2"
|
||||
PORT = "8080" # Internal proxy port (unused but kept)"
|
||||
|
||||
# Navidrome Config
|
||||
ND_DATAFOLDER = "/data"
|
||||
|
||||
Reference in New Issue
Block a user