Hi everyone,
I am new to self-hosting and this is also my first post on Lemmy. I have a navidrome instance for my music (installed via docker compose) and a jellyfin instance for movies and shows (also installed via docker compose) running on a Raspberry Pi 4 8GB. I know I could also use music over jellyfin but I prefer to have it in navidrome.
The next thing that I want to achieve on my journey through the world of self-hosting is to run my own matrix server. The ideal eventual goal would be to have my own server on that same Raspberry Pi which I can then use to bridge Whatsapp to so I finally can get rid of that App from my primary phone. Receiving Whatsapp messages is unfortunately necessary for me to keep contact with certain people, although I would prefer to get rid of it completely as well, but who am I telling that, there are plenty of people out there facing the same issue.
As Whatsapp needs to run somewhere, which is required to have the bridge properly working, it would ideally run in an Android Virtual Device although that is no requirement as I know physical phones are recommended and emulated devices get blocked more often.
Ideally, the matrix server would also be installed using docker compose. It is intended to have one user only which is me but should of course be able to communicate with other servers to enable me to talk to others. The main limitation is that all three services should be running on that Raspberry Pi at the same time.
As my experience regarding such a project is virtually zero, my questions are:
Is such a setup is feasible and generally a good or bad idea (considering running jellyfin, navidrome and matrix on one Raspberry Pi)?
What issues should I consider before starting such a project?
If there’s someone having a similar setup, what are your experiences?
Also important to note: The matrix server should be able to handle video and voice calls as well, not in large rooms of course, but rather in a context of 2 to 4 people max.
Any advice, information or personal experience is well appreciated! I want to properly inform myself before starting out and thought here might be a good starting point. If I forgot to mention any specific information that is needed please let me know.
Thanks a lot!
EDIT: Adjusted post title to better reflect the advise-seeking character of this post and adjusted question phrasing


Thanks a lot for this detailed response and the reference to the resources! It helped a lot!
I can give an update on my progress.
I have a functioning matrix server with the mautrix bridge running on my pi now. For livekit I’ve followed your recommendation and set up a VPS for that as well as for routing traffic to my pi (due to my ISP’s policies it is a hassle to get inbound traffic working without a VPN).
The next step now is to get an Android Virtual Device configured and running for whatsapp to receive messages through the mautrix bridge (or get hands on another phone to run whatsapp on there). Having to resort to mautrix is unsatisfactory to me as I would prefer to completely get rid of whatsapp. I am trying to get people to switch to matrix but getting people to switch is a tough fight against the demons of indifference and convenience that so many people value over everything. I guess that is the price people have to pay for trying to live a more privacy conscious life. Until something switches in people’s minds using the bridge is unfortunately the best it gets for me.