From fdfa303f094a7fd6acf7346c53b65e1912636d9b Mon Sep 17 00:00:00 2001 From: FrozenEye Date: Thu, 8 Dec 2016 23:23:11 +0200 Subject: [PATCH] added dbconfig to VOLUMEs use VOLUME also for /data/db and /data/dbconfig --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5718276..a6bf709 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,7 @@ echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && apk add --no-cache mongodb && \ rm /usr/bin/mongosniff /usr/bin/mongoperf -VOLUME /data/db -EXPOSE 27017 28017 +VOLUME /data/db /data/configdb COPY run.sh /root ENTRYPOINT [ "/root/run.sh" ]