Browse Source

Fix Docker listen IP setting

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
chapril^2
Thomas Citharel 2 weeks ago
parent
commit
11a06664bd
No known key found for this signature in database GPG Key ID: A061B9DDE0CA0773
  1. 2
      config/docker.exs

2
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

Loading…
Cancel
Save