All Projects → instrumentisto → Coturn Docker Image

instrumentisto / Coturn Docker Image

Licence: other
Coturn TURN server Docker image

Labels

Projects that are alternatives of or similar to Coturn Docker Image

Symfony Bootstrapped
⚡️ Symfony with tools
Stars: ✭ 160 (-5.33%)
Mutual labels:  makefile
Intellij Makefile
Makefile support for IntelliJ-based IDEs
Stars: ✭ 164 (-2.96%)
Mutual labels:  makefile
Maid
Markdown driven task runner.
Stars: ✭ 1,999 (+1082.84%)
Mutual labels:  makefile
Docker Quick Ref
Docker: Printable Quick Reference
Stars: ✭ 160 (-5.33%)
Mutual labels:  makefile
Septun
Suricata Extreme Performance Tuning guide
Stars: ✭ 162 (-4.14%)
Mutual labels:  makefile
Iterm2 Borderless
Borderless iTerm2 patch with a few extra features
Stars: ✭ 165 (-2.37%)
Mutual labels:  makefile
Riscv Elf Psabi Doc
A RISC-V ELF psABI Document
Stars: ✭ 156 (-7.69%)
Mutual labels:  makefile
Android device xiaomi kenzo
Stars: ✭ 170 (+0.59%)
Mutual labels:  makefile
Noobs
NOOBS (New Out Of Box Software) - An easy Operating System install manager for the Raspberry Pi
Stars: ✭ 2,048 (+1111.83%)
Mutual labels:  makefile
Specification
Serverless Workflow Specification
Stars: ✭ 166 (-1.78%)
Mutual labels:  makefile
Arm Assembly Cheat
MOVED TO: https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly SEE README. ARMv7 and ARMv8 assembly userland minimal examples tutorial. Runnable asserts on x86 hosts with QEMU user mode or natively on ARM targets. Nice GDB step debug setup. Tested on Ubuntu 18.04 host and Raspberry Pi 2 and 3 targets.
Stars: ✭ 159 (-5.92%)
Mutual labels:  makefile
Drizzledumper
drizzleDumper是一款基于内存搜索的Android脱壳工具。
Stars: ✭ 2,002 (+1084.62%)
Mutual labels:  makefile
Ios Projects Catalogue
[Discontinued] Сatalogue of iOS open source projects.
Stars: ✭ 165 (-2.37%)
Mutual labels:  makefile
Amiga Gcc
The GNU C-Compiler with Binutils and other useful tools for cross development for Amiga
Stars: ✭ 160 (-5.33%)
Mutual labels:  makefile
Latex Makefile
A Makefile for LaTeX - drop it in, type make, and magic happens.
Stars: ✭ 168 (-0.59%)
Mutual labels:  makefile
Teachingmaterial
Various teaching material
Stars: ✭ 159 (-5.92%)
Mutual labels:  makefile
Http Echo
A tiny go web server that echos what you start it with!
Stars: ✭ 165 (-2.37%)
Mutual labels:  makefile
Uninstallfeedback
Show feedback page when the apk is uninstalled.
Stars: ✭ 169 (+0%)
Mutual labels:  makefile
Easyndk For Cocos2dx
NDK is always a problem. Writing such a code that can become a breeze in connecting with other platforms is always a problem when working with cocos2dx. This repo is a step made forward to make this pain a simple step.
Stars: ✭ 168 (-0.59%)
Mutual labels:  makefile
Dockerfiles
Development environment of EvaEngine, based on Docker
Stars: ✭ 166 (-1.78%)
Mutual labels:  makefile

Coturn TURN server Docker image

GitHub release Build Status Docker Pulls

Supported tags and respective Dockerfile links

What is Coturn TURN server?

The TURN Server is a VoIP media traffic NAT traversal server and gateway. It can be used as a general-purpose network traffic TURN server and gateway, too.

github.com/coturn/coturn

How to use this image

To run Coturn TURN server just start the container:

docker run -d -p 3478:3478 -p 49152-65535:49152-65535/udp instrumentisto/coturn

Why so many ports opened?

As per RFC 5766 Section 6.2, these are the ports that the TURN server will use to exchange media.

You can change them with min-port and max-port Coturn configuration options:

docker run -d -p 3478:3478 -p 49160-49200:49160-49200/udp \
       instrumentisto/coturn -n --log-file=stdout \
                             --external-ip='$(detect-external-ip)' \
                             --min-port=49160 --max-port=49200

Or just use the host network directly (recommended, as Docker performs badly with large port ranges):

docker run -d --network=host instrumentisto/coturn

Configuration

By default, default Coturn configuration and CLI options provided in CMD Dockerfile instruction are used.

  1. You may either specify your own configuration file instead.

    docker run -d --network=host \
               -v $(pwd)/my.conf:/etc/coturn/turnserver.conf \
           instrumentisto/coturn
    
  2. Or specify command line options directly.

    docker run -d --network=host instrumentisto/coturn \
               -n --log-file=stdout \
               --min-port=49160 --max-port=49200 \
               --lt-cred-mech --fingerprint \
               --no-multicast-peers --no-cli \
               --no-tlsv1 --no-tlsv1_1 \
               --realm=my.realm.org \  
    
  3. Or even specify another configuration file.

    docker run -d --network=host  \
               -v $(pwd)/my.conf:/my/coturn.conf \
           instrumentisto/coturn -c /my/coturn.conf
    

Automatic detection of external IP

detect-external-ip binary may be used to automatically detect external IP of TURN server in runtime. It's okay to use it multiple times (the value will be evaluated only once).

docker run -d --network=host instrumentisto/coturn \
           -n --log-file=stdout \
           --external-ip='$(detect-external-ip)' \
           --relay-ip='$(detect-external-ip)'

Persistence

By default, Coturn Docker image persists its data in /var/lib/coturn directory.

You can speedup Coturn simply by using tmpfs for that:

docker run -d --network=host --mount type=tmpfs,destination=/var/lib/coturn \
       instrumentisto/coturn

Image versions

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use musl libc instead of glibc and friends, so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See this Hacker News comment thread for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.

X

Latest version of X Coturn major version.

X.Y

Latest version of X.Y Coturn minor version.

X.Y.Z or X.Y.Z.W

Concrete X.Y.Z or X.Y.Z.W version of Coturn.

License

Coturn is licensed under this license.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

The sources for producing instrumentisto/coturn Docker images are licensed under Blue Oak Model License 1.0.0.

Issues

We can't notice comments in the DockerHub so don't use them for reporting issue or asking question.

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].