1
0
mirror of https://github.com/coturn/coturn.git synced 2026-10-24 00:08:57 +03:00
Files
coturn/docker
tangxinfa 1dfa48d29e fix: external ip must valid if the provider responses EDNS (#2060)
Google may response IP and EDNS records, e.g.

$ dig @ns1.google.com o-o.myaddr.l.google.com TXT -4 +short | tr -d \"
    edns0-client-subnet 103.252.16.0/24
    172.253.5.26

It pass the is_valid_ip() checking, but not a valid ip address, fix it
by examine the first line only.
2026-08-28 17:26:36 -07:00
..
2018-10-23 07:44:03 +02:00
2018-10-23 07:44:03 +02:00
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