matrix-org / waterfall

A cascading stream forwarding unit for scalable, distributed voice and video conferencing over Matrix
Apache License 2.0
97 stars 5 forks source link

Containerize the SFU and publish images to the registry #41

Closed daniel-abramov closed 1 year ago

daniel-abramov commented 1 year ago

Now building an image is part of our CI pipeline for main and pull requests.

The package is published to the GitHub Container Registry so that we can easily access the image during the deployment pipeline.

Note that the deployment pipeline is missing here which makes the PR not that useful right now, but once we start deploying from a CD pipeline, this all starts making a lot of sense and would allow us to deploy as easily as scping a single docker-compose.yml to the server and then executing an Ansible action.

I also updated the way how to pass the parameters to the image (regular environment variable as it's the most common practice that is portable and compatible with k8s).

Resolves https://github.com/matrix-org/waterfall/issues/36.