From 400f949580b1d88370630b0319887febc73147ce Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 14 Sep 2020 12:27:13 -0500 Subject: [PATCH] Revert "Try to fix image uploads in federation test" This reverts commit a2ddf2a90b7ac718c3d9002986129e735f7b8c0a. --- docker/federation/docker-compose.yml | 4 ++-- docker/federation/start-local-instances.bash | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docker/federation/docker-compose.yml b/docker/federation/docker-compose.yml index 372b487be..49c4ae857 100644 --- a/docker/federation/docker-compose.yml +++ b/docker/federation/docker-compose.yml @@ -23,10 +23,10 @@ services: pictrs: restart: always - image: asonix/pictrs:amd64-v0.1.0-r9 + image: asonix/pictrs:v0.1.13-r0 user: 991:991 volumes: - - ./volumes/pictrs:/mnt + - ./volumes/pictrs_alpha:/mnt lemmy-alpha: image: lemmy-federation:latest diff --git a/docker/federation/start-local-instances.bash b/docker/federation/start-local-instances.bash index 48dcee889..6814fdd79 100755 --- a/docker/federation/start-local-instances.bash +++ b/docker/federation/start-local-instances.bash @@ -3,7 +3,9 @@ set -e sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-federation:latest -sudo mkdir -p volumes/pictrs -sudo chown -R 991:991 volumes/pictrs +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 docker-compose up