Revert "Try to fix image uploads in federation test"

This reverts commit a2ddf2a90b.
This commit is contained in:
Dessalines 2020-09-14 12:27:13 -05:00
parent a2ddf2a90b
commit 400f949580
2 changed files with 6 additions and 4 deletions

View file

@ -23,10 +23,10 @@ services:
pictrs: pictrs:
restart: always restart: always
image: asonix/pictrs:amd64-v0.1.0-r9 image: asonix/pictrs:v0.1.13-r0
user: 991:991 user: 991:991
volumes: volumes:
- ./volumes/pictrs:/mnt - ./volumes/pictrs_alpha:/mnt
lemmy-alpha: lemmy-alpha:
image: lemmy-federation:latest image: lemmy-federation:latest

View file

@ -3,7 +3,9 @@ set -e
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-federation:latest sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-federation:latest
sudo mkdir -p volumes/pictrs for Item in alpha beta gamma delta epsilon ; do
sudo chown -R 991:991 volumes/pictrs sudo mkdir -p volumes/pictrs_$Item
sudo chown -R 991:991 volumes/pictrs_$Item
done
sudo docker-compose up sudo docker-compose up