From 1e3bb8e6121e90591bc2b865e0709d11490b42c2 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 14 Sep 2020 18:32:38 +0200 Subject: [PATCH] Try to fix image uploads in federation test --- docker/federation/docker-compose.yml | 4 ++-- docker/federation/start-local-instances.bash | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docker/federation/docker-compose.yml b/docker/federation/docker-compose.yml index 49c4ae857..372b487be 100644 --- a/docker/federation/docker-compose.yml +++ b/docker/federation/docker-compose.yml @@ -23,10 +23,10 @@ services: pictrs: restart: always - image: asonix/pictrs:v0.1.13-r0 + image: asonix/pictrs:amd64-v0.1.0-r9 user: 991:991 volumes: - - ./volumes/pictrs_alpha:/mnt + - ./volumes/pictrs:/mnt lemmy-alpha: image: lemmy-federation:latest diff --git a/docker/federation/start-local-instances.bash b/docker/federation/start-local-instances.bash index 6814fdd79..48dcee889 100755 --- a/docker/federation/start-local-instances.bash +++ b/docker/federation/start-local-instances.bash @@ -3,9 +3,7 @@ set -e sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-federation:latest -for Item in alpha beta gamma delta epsilon ; do - sudo mkdir -p volumes/pictrs_$Item - sudo chown -R 991:991 volumes/pictrs_$Item -done +sudo mkdir -p volumes/pictrs +sudo chown -R 991:991 volumes/pictrs sudo docker-compose up