I opensourced our zom.bi live streaming server setup today
You can have a look on https://github.com/zom-bi/zomstream
It's basically nginx-rtmp and a selfmade python player frontend glued together by docker-compose.
Mastodon Instance of the zom.bi Community
Registration is currently closed. Zom.bi users should be able to find an invitation link in the wiki.