Skip to content

jordanb-afs/coturn-with-prometheus-grafana-on-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Coturn + Promethes + Grafana in Docker

Warning: Don't use it directly on production.

Steps

  1. Build coturn image and container
$ cd ./coturn
$ docker build --tag self-coturn:0.1 .
$ docker run -it -P  -p 9641:9641 -p 3478:3478 -p 3478:3478/udp self-coturn:0.1
  1. Build prometheus and container
$ cd ./prometheus
$ docker build --tag self-prometheus:0.1 .
$ docker run -it -P  -p 9090:9090  self-prometheus:0.1

You could check whether the http:localhost:9090 is running.
Try the webrtc local connection to produce some coturn metrics and check whether there is any coturn related metrics such as turn_status

  1. start grafana container
$ docker run -d --name=grafana -p 3000:3000 grafana/grafana
  1. Login grafana console, add prometheus as data source. Don't forget to use http://host.docker.internal:9090 as URL.

Or you could simply run $ docker-compose up

About

Running coturn with prometheus and grafana on docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%