mirror of
https://github.com/hnrd/chronix
synced 2023-12-11 20:12:20 +00:00
add chronix:ingester
This commit is contained in:
parent
a09e0a35f9
commit
b995b55ec0
2 changed files with 16 additions and 0 deletions
|
@ -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
8
ingester/Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue