coturn/docker
Juan Navarro 24dbd9459d Use DNS requests to discover external IP address
Using DNS requests is a much more robust and reliable method to discover
a machine's external IP address, instead of the previous method of using
Curl against an HTTP service.

Using Curl is fine, but the kind of services that are typically used
(here it was icanhazip.com, but there are lots more with a similar
behavior) are are not as dependable as the official DNS request methods
supported by some of the biggest service providers.

This uses "dig", which Alpine provides in the package "bind-tools" and
Debian in "dnstools".
2021-04-19 12:56:08 +02:00
..
coturn Use DNS requests to discover external IP address 2021-04-19 12:56:08 +02:00
mongodb split dockerfiles based on db 2018-10-23 07:44:03 +02:00
mysql Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
postgresql Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
redis Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
cp-schema.sh split dockerfiles based on db 2018-10-23 07:44:03 +02:00
docker-compose-all.yml Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
docker-compose-mongodb.yml Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
docker-compose-mysql.yml Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
docker-compose-postgresql.yml Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
docker-compose-redis.yml Remove redundant custom images for docker/ directory 2021-04-13 11:40:50 +03:00
README.docker Error in readme? 2020-04-30 17:39:39 +03:00

Before you begin
 * copy db schema run ./cp-schema.sh
 * edit coturn/turnserver.conf according your db selection (mysql or postgresql or redis or mongodb)

# start

  docker-compose -f docker-compose-all.yml up --build --detach

# restart
Notice: May restart needed for coturn container, if it could not access database yet, due initialization delay.
  docker restart docker_coturn_1

# stop
  docker-compose -f docker-compose-all.yml down


# Or Stop with volume removal
  docker-compose down --volumes