1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-12 17:26:15 +00:00

hack the bind address in a hacky way

To access on a mapped port from outside the container, we need to bind
eth0 (or all, i.e. 0.0.0.0) instead of just lo0.
This commit is contained in:
Richard Lister
2016-04-13 19:08:58 -04:00
parent 6d92376dbf
commit 75aa4dc028

View File

@@ -5,6 +5,9 @@ MAINTAINER Ric Lister <rlister@gmail.com>
RUN apk add --update nodejs && \
npm install aws-es-kibana -g
## need to bind eth0 inside container, not lo0
RUN sed -i.bak s/127\.0\.0\.1/0\.0\.0\.0/ /usr/lib/node_modules/aws-es-kibana/index.js
EXPOSE 9200
ENTRYPOINT [ "aws-es-kibana" ]