staging: simplify litestream config on nix

This commit is contained in:
Alex 2022-12-01 17:35:19 +01:00
parent 18ab08a86c
commit d3fac34e63
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

@ -43,13 +43,12 @@ job "im" {
]
bind = {
"../alloc/data" = "/ephemeral",
"secrets/litestream.yml" = "/etc/litestream.yml"
}
}
template {
data = file("../config/litestream.yml")
destination = "secrets/litestream.yml"
destination = "etc/litestream.yml"
}
resources {
@ -189,13 +188,12 @@ EOH
]
bind = {
"../alloc/data" = "/ephemeral",
"secrets/litestream.yml" = "/etc/litestream.yml"
}
}
template {
data = file("../config/litestream.yml")
destination = "secrets/litestream.yml"
destination = "etc/litestream.yml"
}
resources {