Oooof, I think it kinda works now!
I managed to build mastodon image and pod for it, kinda in parallel with PR from Hometown who did the same:
My goal is to have a setup for federation without requiring you to run anything with sudo. I already experimented with CNI so it should not be that hard. Was annoying but we're getting there!
I am almost there! I could certainly curl from one to another but then I couldn't make mastodon listen on specific port 🙄
Tomorrow it will work.
okay okay so
there's a Procfile
and there's Procfile.dev 😡
and it has port hardcoded there of course 😡😡😡
fucking ruby can't do anything
It can't do threads so you need puma and sidekiq
It can't do caches so you need redis
It can't do streaming so you need another streaming process
I needed to patch masto a bit (again) but YAY! It's working kinda. I already found 2 issues in kibou thanks to this.
like I had no idea masto does requests with 'application/activity+json, application/ld+json', no wonder it can't fetch anything from me
wait Content-Type vs Accept aaaa
kibou and masto, completely rootless being able to somehow communicate
Last time it was a pile of slow hacks, this time it's easy to set up.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!