aboutsummaryrefslogtreecommitdiff
path: root/app/im/deploy
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-12-30 13:47:47 +0100
committerAlex Auvolat <alex@adnab.me>2021-12-30 13:47:47 +0100
commit8d48f3bf7ff858a75ba3b2c3ef25195b445c8942 (patch)
treea21765fd87daaa8b18379c31458212c1b51e6e3a /app/im/deploy
parenta6c4828cb66eb74ef2320f9fa06b59ae299e5c5f (diff)
downloadnixcfg-8d48f3bf7ff858a75ba3b2c3ef25195b445c8942.tar.gz
nixcfg-8d48f3bf7ff858a75ba3b2c3ef25195b445c8942.zip
Use rclone-mounted garage as synapse media store
Diffstat (limited to 'app/im/deploy')
-rw-r--r--app/im/deploy/im.hcl7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/im/deploy/im.hcl b/app/im/deploy/im.hcl
index 3cf4e95..6378e82 100644
--- a/app/im/deploy/im.hcl
+++ b/app/im/deploy/im.hcl
@@ -66,7 +66,7 @@ job "im" {
volumes = [
"secrets:/etc/matrix-synapse",
"../alloc/data:/ephemeral",
- "/mnt/ssd/synapse:/data",
+ "/mnt/garage-staging/synapse-data:/data",
]
}
@@ -76,6 +76,11 @@ job "im" {
}
template {
+ data = file("../config/synapse.log.config.yaml")
+ destination = "secrets/synapse.log.config.yaml"
+ }
+
+ template {
data = "{{ key \"secrets/synapse/signing_key\" }}"
destination = "secrets/signing_key"
}