Skip to content

romashorodok/conferencing-platform

Repository files navigation

Simplified version in other branch

Build

Docker

Docker build utilizes BuildKit cache on the local machine, allowing it to send only pre-built containers, rather than resolving and building dependencies each time. This saves bandwidth, in my case I have around ~4GB of bandwidth/space for a media server.

Deps:

Steps:

Copy docker-compose file and edit whatever you want:

cp docker-compose.yml docker-compose-prod.yml && nvim docker-compose-prod.yml

Build containers cache with mage file:

mage buildx docker-compose-prod.yml

Use context (Skip this if not needed):

Use your credentials

docker context create prod --docker "host=ssh://root@<HOST_IP>,key=/Users/user/.ssh/id_rsa" && ssh-add /Users/user/.ssh/id_rsa

Deploy images on context target:

Instead of prod may be used default context

mage buildxDeploy prod docker-compose-prod.yml

Apply your docker compose:

docker context use prod && \
  docker-compose -f docker-compose-prod.yml up -d && \
  docker context use default

Dev

Important

To run need Docker Compose version 2.22 and later.

docker compose watch

Allow self-signed cert and open https://localhost:443

Login and password: root root

Migrations

Deps:

Open media-server

make up

Info

Supported browsers:

  • Chrome 126 (later versions may behave differently)
  • Firefox 126 (on Docker container, there is a 10-second picture loss)
  • Android Chrome Mobile 126 (later versions may behave differently)
  • Android Firefox 126 (only audio sending)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published