Make Docker config listen by default only on ipv4 localhost (in docker.exs)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-08-03 18:09:20 +02:00
parent a34e253fb8
commit 72226ae27d
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -2,7 +2,7 @@
import Config
listen_ip = System.get_env("MOBILIZON_INSTANCE_LISTEN_IP", "::")
listen_ip = System.get_env("MOBILIZON_INSTANCE_LISTEN_IP", "127.0.0.1")
listen_ip =
case listen_ip |> to_charlist() |> :inet.parse_address() do