Browse Source

Setting environment variable host to make app listen on every available network interface in docker

pull/1056/head
sweco-semhul 7 years ago
parent
commit
2f6682c94a
  1. 3
      Dockerfile

3
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

Loading…
Cancel
Save