Browse Source

Try to fix image uploads in federation test

pull/99/head
Felix Ableitner 5 months ago
parent
commit
1e3bb8e612
2 changed files with 4 additions and 6 deletions
  1. +2
    -2
      docker/federation/docker-compose.yml
  2. +2
    -4
      docker/federation/start-local-instances.bash

+ 2
- 2
docker/federation/docker-compose.yml View File

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


+ 2
- 4
docker/federation/start-local-instances.bash View File

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

Loading…
Cancel
Save