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". |
||
|---|---|---|
| .. | ||
| coturn | ||
| mongodb | ||
| mysql | ||
| postgresql | ||
| redis | ||
| cp-schema.sh | ||
| docker-compose-all.yml | ||
| docker-compose-mongodb.yml | ||
| docker-compose-mysql.yml | ||
| docker-compose-postgresql.yml | ||
| docker-compose-redis.yml | ||
| README.docker | ||
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