mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 06:36:14 +00:00
Fixing some scripts for the federation-test
This commit is contained in:
parent
e517de5480
commit
4c1cb5999c
5
docker/federation-test/run-tests.sh
vendored
5
docker/federation-test/run-tests.sh
vendored
|
@ -7,6 +7,11 @@ popd
|
||||||
|
|
||||||
sudo docker build ../../ --file ../federation/Dockerfile --tag lemmy-federation:latest
|
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
|
sudo docker-compose --file ../federation/docker-compose.yml --project-directory . up -d
|
||||||
|
|
||||||
pushd ../../ui
|
pushd ../../ui
|
||||||
|
|
1
docker/federation/docker-compose.yml
vendored
1
docker/federation/docker-compose.yml
vendored
|
@ -10,6 +10,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
# Hack to make this work from both docker/federation/ and docker/federation-test/
|
# Hack to make this work from both docker/federation/ and docker/federation-test/
|
||||||
- ../federation/nginx.conf:/etc/nginx/nginx.conf
|
- ../federation/nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
restart: on-failure
|
||||||
depends_on:
|
depends_on:
|
||||||
- lemmy_alpha
|
- lemmy_alpha
|
||||||
- pictrs_alpha
|
- pictrs_alpha
|
||||||
|
|
Loading…
Reference in a new issue