Fixing some scripts for the federation-test

pull/633/head
Dessalines 2020-06-27 14:54:42 -04:00
parent e517de5480
commit 4c1cb5999c
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,11 @@ popd
sudo docker build ../../ --file ../federation/Dockerfile --tag lemmy-federation:latest
for Item in alpha beta gamma ; do
sudo mkdir -p volumes/pictrs_$Item
sudo chown -R 991:991 volumes/pictrs_$Item
done
sudo docker-compose --file ../federation/docker-compose.yml --project-directory . up -d
pushd ../../ui

View File

@ -10,6 +10,7 @@ services:
volumes:
# Hack to make this work from both docker/federation/ and docker/federation-test/
- ../federation/nginx.conf:/etc/nginx/nginx.conf
restart: on-failure
depends_on:
- lemmy_alpha
- pictrs_alpha