From 11a06664bdcf87635616b45b670d3fe558f1ad29 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 30 Mar 2021 13:53:47 +0200 Subject: [PATCH] Fix Docker listen IP setting Signed-off-by: Thomas Citharel --- config/docker.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/docker.exs b/config/docker.exs index e84a32995..50252737a 100644 --- a/config/docker.exs +++ b/config/docker.exs @@ -5,7 +5,7 @@ import Config listen_ip = System.get_env("MOBILIZON_INSTANCE_LISTEN_IP", "::") listen_ip = - case :inet.parse_address(listen_ip) do + case listen_ip |> to_charlist() |> :inet.parse_address() do {:ok, listen_ip} -> listen_ip _ -> raise "MOBILIZON_INSTANCE_LISTEN_IP does not match the expected IP format." end