From 60235996810485b523bcc70fa5a806431694d83d Mon Sep 17 00:00:00 2001 From: ish Date: Mon, 18 Nov 2024 20:00:37 +0900 Subject: [PATCH] Fix database file path --- Dockerfile | 1 - docker-compose.yaml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c41ecdd..6052661 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,6 @@ COPY --from=builder /go/src/github.com/cloud-barista/cm-grasshopper/conf /conf COPY --from=builder /go/src/github.com/cloud-barista/cm-grasshopper/cmd/cm-grasshopper/cm-grasshopper /cm-grasshopper ADD playbook/ /playbook -ADD softwares.db /softwares.db RUN mkdir -p /root/.cm-grasshopper/ RUN curl --ipv4 https://raw.githubusercontent.com/cloud-barista/cm-honeybee/main/server/_default_key/honeybee.key -o /root/.cm-grasshopper/honeybee.key diff --git a/docker-compose.yaml b/docker-compose.yaml index 9a769a3..df84da6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,7 +4,8 @@ services: restart: always image: cloudbaristaorg/cm-grasshopper:edge volumes: - #- ./CM-GRASSHOPPER.db:/CM-GRASSHOPPER.db:rw + #- ./softwares.db:/root/.cm-grasshopper/softwares.db:rw + #- ./CM-GRASSHOPPER.db:/root/.cm-grasshopper/CM-GRASSHOPPER.db:rw #- ./honeybee.key:/root/.cm-grasshopper/honeybee.key:ro #- ./playbook:/playbook/:rw - ./software_temp:/software_temp:rw