Merge pull request #7 from gary-kim/enh/noid/docker

Add Docker resources
This commit is contained in:
Joachim Bauch
2020-07-21 11:46:24 +02:00
committed by GitHub
6 changed files with 108 additions and 0 deletions
+15
View File
@@ -76,6 +76,21 @@ systemctl enable signaling.service
systemctl start signaling.service
```
### Running with Docker
#### Docker Compose
You will likely have to adjust the Janus command line options depending on the exact network configuration on your server. Refer to [Setup of Janus](#setup-of-janus) and the Janus documentation for how to configure your Janus server.
Copy `server.conf.in` to `server.conf` and adjust it to your liking.
If you're using the [docker-compose.yml](docker-compose.yml) configuration as is, the MCU Url must be set to `ws://localhost:8188`, the NATS Url must be set to `nats://localhost:4222`, and TURN Servers must be set to `turn:localhost:3478?transport=udp,turn:localhost:3478?transport=tcp`.
```bash
docker-compose build
docker-compose up -d
```
## Setup of NATS server
There is a detailed description on how to install and run the NATS server