aboutsummaryrefslogtreecommitdiff
path: root/app/im
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-10 23:07:38 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-10 23:07:38 +0100
commit60f65552d24a78140a9cf6dfcdba2d4ae3dd8b6c (patch)
tree1b9d36b26eb8e5a8649312d91d9d431033bb1370 /app/im
parent8544cd27bbd5a68e1cf314d1d7ff3d341d935747 (diff)
downloadnixcfg-60f65552d24a78140a9cf6dfcdba2d4ae3dd8b6c.tar.gz
nixcfg-60f65552d24a78140a9cf6dfcdba2d4ae3dd8b6c.zip
fix s3_media_upload
Diffstat (limited to 'app/im')
-rwxr-xr-xapp/im/build/matrix-synapse/matrix-s3-async-sqlite2
-rw-r--r--app/im/deploy/im.hcl4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/im/build/matrix-synapse/matrix-s3-async-sqlite b/app/im/build/matrix-synapse/matrix-s3-async-sqlite
index b9eb73a..8ab205e 100755
--- a/app/im/build/matrix-synapse/matrix-s3-async-sqlite
+++ b/app/im/build/matrix-synapse/matrix-s3-async-sqlite
@@ -8,6 +8,6 @@ EOF
while true; do
/root/matrix-env/bin/s3_media_upload update-db 0d
/root/matrix-env/bin/s3_media_upload --no-progress check-deleted /ephemeral/media_store
- /root/matrix-env/bin/s3_media_upload --no-progress upload /ephemeral/media_store matrix --delete --endpoint-url https://garage-staging.home.adnab.me
+ /root/matrix-env/bin/s3_media_upload --no-progress upload /ephemeral/media_store synapse-data --delete --endpoint-url https://garage-staging.home.adnab.me
sleep 600
done
diff --git a/app/im/deploy/im.hcl b/app/im/deploy/im.hcl
index 2be791d..df1dade 100644
--- a/app/im/deploy/im.hcl
+++ b/app/im/deploy/im.hcl
@@ -52,7 +52,7 @@ job "im" {
task "synapse" {
driver = "docker"
config {
- image = "lxpz/amd64_synapse:1.49.2"
+ image = "lxpz/amd64_synapse:1.49.2-2"
ports = [ "http" ]
command = "python"
@@ -108,7 +108,7 @@ job "im" {
driver = "docker"
config {
- image = "lxpz/amd64_synapse:1.49.2"
+ image = "lxpz/amd64_synapse:1.49.2-2"
readonly_rootfs = true
command = "/usr/local/bin/matrix-s3-async-sqlite"
work_dir = "/ephemeral"