I suspect the flag is here because coturn fails to start if it can't find a config file. If it's the case, I suggest removing the above section from the README. If not, I suggest removing the -n flag.
FTR, I found this issue because I observed my config file was not taken into account. By adding -c /path/to/turnserver.conf it is.
This project's README states that one can use their own config file without changing the command:
However, the
CMD
puts the-n
flag, which disables reading from any config file.https://github.com/instrumentisto/coturn-docker-image/blob/437c26a508fe23080fcb564eef4a598bf8f6c1b7/Dockerfile#L114
I suspect the flag is here because coturn fails to start if it can't find a config file. If it's the case, I suggest removing the above section from the README. If not, I suggest removing the
-n
flag.FTR, I found this issue because I observed my config file was not taken into account. By adding
-c /path/to/turnserver.conf
it is.