add chronix:ingester

This commit is contained in:
chris 2017-05-08 13:37:13 +02:00
parent a09e0a35f9
commit b995b55ec0
2 changed files with 16 additions and 0 deletions

View file

@ -9,5 +9,13 @@ services:
- data:/data
restart: unless-stopped
ingester:
build: ingester
ports:
- 8080
links:
- db:chronix
restart: unless-stopped
volumes:
data:

8
ingester/Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM golang:alpine
RUN apk add --no-cache git &&\
go get github.com/ChronixDB/chronix.ingester &&\
apk del git
EXPOSE 8080
CMD [ "/go/bin/chronix.ingester" "-chronix-url=http://chronix:8983/solr/chronix"]