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

update to 1.0.4

This allows us to pass bind address in entrypoint instead of
perpetrating a sed hack on the hard-coded localhost IP.
This commit is contained in:
Richard Lister
2016-05-02 18:17:16 -04:00
parent b7f8ff438c
commit f8290be5df
2 changed files with 10 additions and 6 deletions

View File

@@ -3,11 +3,9 @@ FROM alpine:3.3
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
npm install aws-es-kibana@1.0.4 -g
EXPOSE 9200
ENTRYPOINT [ "aws-es-kibana" ]
## need to bind eth0 inside container, not lo0
ENTRYPOINT [ "aws-es-kibana", "-b", "0.0.0.0" ]

View File

@@ -8,4 +8,10 @@ based on
Runs a simple HTTP proxy on `localhost:9200` that handles
request-signing for an IAM user or instance role that has access to an
[AWS Elasticsearch](https://aws.amazon.com/elasticsearch-service/) domain.
[AWS Elasticsearch](https://aws.amazon.com/elasticsearch-service/) domain.
## Usage
```
docker run -p 9200:9200 rlister/aws-es-kibana <your_es_endpoint>
```