mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-21 23:44:30 +00:00
Fix Docker listen IP setting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2b25953707
commit
11a06664bd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue