fix s3_media_upload
This commit is contained in:
parent
8544cd27bb
commit
60f65552d2
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue