diff --git a/core/blocky/blocky.nomad b/core/blocky/blocky.nomad index 05d1037..b3b17d1 100644 --- a/core/blocky/blocky.nomad +++ b/core/blocky/blocky.nomad @@ -66,13 +66,8 @@ job "blocky" { config { image = "ghcr.io/0xerr0r/blocky" + args = ["-c", "${NOMAD_TASK_DIR}/config.yml"] ports = ["dns", "api"] - - mount { - type = "bind" - target = "/app/config.yml" - source = "app/config.yml" - } } resources { @@ -83,7 +78,7 @@ job "blocky" { template { data = var.config_data - destination = "app/config.yml" + destination = "${NOMAD_TASK_DIR}/config.yml" splay = "1m" wait {