From 783b4a78e65222fedea1f6a639e19c493577f1c6 Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Tue, 2 Feb 2021 16:17:08 +0100 Subject: [PATCH] Fix a partial example docker command in the README. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68c5de96..bdc99d65 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,8 @@ docker run \ --name mg \ -p 27017:27017 \ -v /home/user/skynet-webportal/docker/data/mongo/db:/data/db \ - -v /home/user/skynet-webportal/docker/data/mongo + -v /home/user/skynet-webportal/docker/data/mongo/mgkey:/data/mgkey \ + mongo --keyFile=/data/mgkey --replSet=skynet ``` Cluster initialisation mongo command: