aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-01 17:35:19 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-01 17:35:19 +0100
commitd3fac34e633611aecbb6c3d70beeff33aedadbc4 (patch)
treeb0f3937e3b758f93f99af8d35da5263828077b58
parent18ab08a86cde01d5b715a9ce036787190b90dc1c (diff)
downloadnixcfg-d3fac34e633611aecbb6c3d70beeff33aedadbc4.tar.gz
nixcfg-d3fac34e633611aecbb6c3d70beeff33aedadbc4.zip
staging: simplify litestream config on nix
-rw-r--r--cluster/staging/app/im/deploy/im-nix.hcl6
1 files changed, 2 insertions, 4 deletions
diff --git a/cluster/staging/app/im/deploy/im-nix.hcl b/cluster/staging/app/im/deploy/im-nix.hcl
index 0d7b79d..b8e59b0 100644
--- a/cluster/staging/app/im/deploy/im-nix.hcl
+++ b/cluster/staging/app/im/deploy/im-nix.hcl
@@ -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 {