Update to ccms docker config

This commit is contained in:
Aditya Ujeniya 2024-12-04 14:42:08 +01:00
parent 861036e864
commit 37dbd36c0f
2 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,9 @@ FROM golang:1.22.4
RUN apt-get update
RUN apt-get -y install git
RUN rm -rf /cc-metric-store
RUN git clone https://github.com/ClusterCockpit/cc-metric-store.git /cc-metric-store
RUN ls
RUN cd /cc-metric-store && go build ./cmd/cc-metric-store
# Reactivate when latest commit is available
@ -17,5 +18,4 @@ COPY config.json /go/bin
VOLUME /data
WORKDIR /go/bin
RUN mkdir -p ./var/checkpoints
CMD ["./cc-metric-store"]

View File

@ -167,12 +167,12 @@
},
"checkpoints": {
"interval": "12h",
"directory": "./var/checkpoints",
"directory": "/data/checkpoints",
"restore": "48h"
},
"archive": {
"interval": "50h",
"directory": "./var/archive"
"directory": "/data/archive"
},
"http-api": {
"address": "localhost:8082",