Skip to main content

Mirotalk

https://docs.mirotalk.com/mirotalk-sfu/self-hosting/#using-docker

# clone this repo
$ git clone https://github.com/miroslavpejic85/mirotalk.git
# go to mirotalk dir
$ cd mirotalk
# copy .env.template to .env (edit it according to your needs)
$ cp .env.template .env
# Copy app/src/config.template.js in app/src/config.js (edit it according to your needs)
$ cp app/src/config.template.js app/src/config.js
# Copy docker-compose.template.yml in docker-compose.yml (edit it according to your needs)
$ cp docker-compose.template.yml docker-compose.yml
# Get official image from Docker Hub
$ docker pull mirotalk/p2p:latest
# create and start containers
$ docker-compose up # -d
# to stop and remove resources
$ docker-compose down

Typically, you'll want to change in trhe .env:

HOST='http://192.168.1.105' # Default to http://localhost:port
PORT=3123


TRUST_PROXY=true #true or false

TZ=Europe/Paris

HOST_PROTECTED=true # true or false
HOST_USER_AUTH=false # true or false
HOST_USERS='[{"username": "user1", "password": "password1"},{"username": "guest", "password": "guest"}]'

JWT_KEY=mirotalkp2p_jwt_secret

PRESENTERS=

STATS_ENABLED=false # true or false