edumeet / edumeet-docker

eduMEET in docker container for version (4.x)
https://edumeet.org
MIT License
54 stars 42 forks source link

fix: revert amount of workers as env var #43

Closed pnts-se closed 1 year ago

pnts-se commented 1 year ago

I think we should revert the changes made related to amountOfWorkers arg passed to medianode.

The current default behavior on missing amountOfWorkers arg is good, we create as many mediasoup workers as max threads.

If we want to change amountOfWorkers we can do:

1. using docker CLI

docker run edumeet/edumeet-media-node:4.x-20230519-nightly --amountOfWorkers 3

2 using docker-compose

services:
  media_node:
    container_name: "media_node"
    image: "edumeet/edumeet-media-node:4.x-20230519-nightly"
    command:
      - --amountOfWorkers
      - 3