From 72226ae27d3e90d4822fc54a4872e8212aa4fc6b Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Tue, 3 Aug 2021 18:09:20 +0200
Subject: [PATCH] Make Docker config listen by default only on ipv4 localhost
 (in docker.exs)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 config/docker.exs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/docker.exs b/config/docker.exs
index 50252737a..dec3d28ee 100644
--- a/config/docker.exs
+++ b/config/docker.exs
@@ -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