lemmy/docker/federation/start-local-instances.bash

15 lines
340 B
Bash
Raw Normal View History

2020-08-31 15:26:32 +00:00
#!/bin/bash
set -e
sudo docker-compose down
2023-02-05 17:30:10 +00:00
sudo docker build ../../ --file ../dev/Dockerfile -t lemmy-federation:latest
2020-08-31 15:26:32 +00:00
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 pull --ignore-pull-failures || true
sudo docker-compose up