a set of scripts to spin up local environments containing many fediverse implementations for federation testing
Find a file
2023-01-22 18:48:42 -03:00
files migrate from pubtester.local to pubtester.example.net 2023-01-22 18:48:42 -03:00
pubtester.example.net add pubtester.example.net certs 2023-01-22 18:47:09 -03:00
pubtester.local add selfsigned certificates 2022-11-18 13:15:36 -03:00
.env.mastodon update README 2022-11-20 03:00:43 -03:00
.gitignore add mastodon 2022-11-16 18:08:17 -03:00
docker-compose.yaml migrate from pubtester.local to pubtester.example.net 2023-01-22 18:48:42 -03:00
Dockerfile.pleroma federate two pleroma instances instead 2022-11-18 13:15:04 -03:00
LICENSE Initial commit 2022-11-15 23:55:00 +00:00
mastodon_setup.sh federate two pleroma instances instead 2022-11-18 13:15:04 -03:00
minica.pem add selfsigned certificates 2022-11-18 13:15:36 -03:00
pleroma_setup.sh federate two pleroma instances instead 2022-11-18 13:15:04 -03:00
README.md migrate from pubtester.local to pubtester.example.net 2023-01-22 18:48:42 -03:00

pubtester

a set of scripts to spin up local environments containing many fediverse implementations for federation testing

at the moment only two instances of pleroma are generated.

mastodon is TODO.

setup

add the following to your /etc/hosts

127.0.0.1		pleroma.pubtester.example.net		localhost
127.0.0.1		pleroma2.pubtester.example.net	localhost

run

git clone ... && cd pubtester
./pleroma_setup.sh
docker-compose up -d pleroma_web pleroma2_web nginx

then go to https://pleroma.pubtester.example.net:20000/main/friends and also https://pleroma2.pubtester.example.net:20000/main/friends

emit new minica certs

this is generally for myself: https://github.com/jsha/minica

minica -domains 'pubtester.example.net,*.pubtester.example.net'

wipe everything

sudo rm -rfv ./data
./pleroma_setup.sh