staging: simplify litestream config on nix
This commit is contained in:
parent
18ab08a86c
commit
d3fac34e63
1 changed files with 2 additions and 4 deletions
|
@ -43,13 +43,12 @@ job "im" {
|
||||||
]
|
]
|
||||||
bind = {
|
bind = {
|
||||||
"../alloc/data" = "/ephemeral",
|
"../alloc/data" = "/ephemeral",
|
||||||
"secrets/litestream.yml" = "/etc/litestream.yml"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
data = file("../config/litestream.yml")
|
data = file("../config/litestream.yml")
|
||||||
destination = "secrets/litestream.yml"
|
destination = "etc/litestream.yml"
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
|
@ -189,13 +188,12 @@ EOH
|
||||||
]
|
]
|
||||||
bind = {
|
bind = {
|
||||||
"../alloc/data" = "/ephemeral",
|
"../alloc/data" = "/ephemeral",
|
||||||
"secrets/litestream.yml" = "/etc/litestream.yml"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template {
|
template {
|
||||||
data = file("../config/litestream.yml")
|
data = file("../config/litestream.yml")
|
||||||
destination = "secrets/litestream.yml"
|
destination = "etc/litestream.yml"
|
||||||
}
|
}
|
||||||
|
|
||||||
resources {
|
resources {
|
||||||
|
|
Loading…
Reference in a new issue