mirror of
https://github.com/hnrd/chronix
synced 2023-12-11 20:12:20 +00:00
persist checkpoint file
This commit is contained in:
parent
06fa77871a
commit
23eb5ebbab
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@ FROM golang:alpine
|
|||
|
||||
RUN apk add --no-cache git &&\
|
||||
go get github.com/ChronixDB/chronix.ingester &&\
|
||||
mkdir /cache &&\
|
||||
apk del git
|
||||
|
||||
EXPOSE 8080
|
||||
CMD [ "/go/bin/chronix.ingester" "-chronix-url=http://chronix:8983/solr/chronix"]
|
||||
VOLUME /cache
|
||||
CMD [ "/go/bin/chronix.ingester", "-checkpoint-file=/cache/checkpoint.db", "-chronix-url=http://chronix:8983/solr/chronix" ]
|
||||
|
|
Loading…
Reference in a new issue