Store blocky config in local task dir
This commit is contained in:
parent
747d5ef0e7
commit
a748adbab0
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user