From 2f6682c94acc3eaf9ebbc014abf7e3c5b52864e3 Mon Sep 17 00:00:00 2001 From: sweco-semhul Date: Thu, 9 Nov 2017 11:16:53 +0100 Subject: [PATCH] Setting environment variable host to make app listen on every available network interface in docker --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 041f00dc..0d62cf70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,9 @@ LABEL maintainer="pelias@mapzen.com" EXPOSE 3100 +# Make sure host is set to enable exposure of app outside of docker container +ENV HOST 0.0.0.0 + # Where the app is built and run inside the docker fs ENV WORK=/opt/pelias