this post was submitted on 18 Jun 2023
2 points (100.0% liked)

Lemmy

12548 readers
6 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

I am wanting to test things and contribute back to lemmy's codebase, and to do that I want to run an instance

I have had no issue setting up an instance, but I want to make sure the things I test / change are not going to cause issues for the fediverse

For example, if I federate a remote instance and then wipe my DB (while keeping the same URL), will that other instance be able to handle the change?

Is there a best practice for this that I should follow?

top 1 comments
sorted by: hot top controversial new old
[–] Pekka@feddit.nl 2 points 1 year ago

In the source code of LemmyNet/lemmy there is a docker-compose file for setting up multiple instances trough docker that can federate with each other. That is a better practice then federating with other pruduction instances.

https://github.com/LemmyNet/lemmy/blob/main/docker/federation/docker-compose.yml