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

13 lines
313 B
Bash
Raw Normal View History

2020-08-31 15:26:32 +00:00
#!/bin/bash
set -e
sudo docker build ../../ --file ../dev/volume_mount.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
2021-02-22 17:57:15 +00:00
sudo docker-compose up -d
sudo docker-compose logs -f lemmy-alpha