mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-03-15 11:25:56 +01:00
Update to ccms docker config
This commit is contained in:
parent
861036e864
commit
37dbd36c0f
@ -3,8 +3,9 @@ FROM golang:1.22.4
|
|||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get -y install git
|
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 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
|
RUN cd /cc-metric-store && go build ./cmd/cc-metric-store
|
||||||
|
|
||||||
# Reactivate when latest commit is available
|
# Reactivate when latest commit is available
|
||||||
@ -17,5 +18,4 @@ COPY config.json /go/bin
|
|||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
WORKDIR /go/bin
|
WORKDIR /go/bin
|
||||||
RUN mkdir -p ./var/checkpoints
|
|
||||||
CMD ["./cc-metric-store"]
|
CMD ["./cc-metric-store"]
|
||||||
|
@ -167,12 +167,12 @@
|
|||||||
},
|
},
|
||||||
"checkpoints": {
|
"checkpoints": {
|
||||||
"interval": "12h",
|
"interval": "12h",
|
||||||
"directory": "./var/checkpoints",
|
"directory": "/data/checkpoints",
|
||||||
"restore": "48h"
|
"restore": "48h"
|
||||||
},
|
},
|
||||||
"archive": {
|
"archive": {
|
||||||
"interval": "50h",
|
"interval": "50h",
|
||||||
"directory": "./var/archive"
|
"directory": "/data/archive"
|
||||||
},
|
},
|
||||||
"http-api": {
|
"http-api": {
|
||||||
"address": "localhost:8082",
|
"address": "localhost:8082",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user