fix s3_media_upload

This commit is contained in:
Alex 2022-01-10 23:07:38 +01:00
parent 8544cd27bb
commit 60f65552d2
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1
3 changed files with 4 additions and 4 deletions

View file

@ -12,5 +12,5 @@ services:
# otherwise synapse may fail to launch due to incompatibility issues
# see this issue for an example: https://github.com/matrix-org/synapse-s3-storage-provider/issues/64
S3_VERSION: 55e1846102e08c3b9686b0426c848d2163d7ba54
image: lxpz/amd64_synapse:1.49.2
image: lxpz/amd64_synapse:1.49.2-2

View file

@ -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

View file

@ -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"