From 36eb825b0ca3177af7e229bdb2e9fe6a561be144 Mon Sep 17 00:00:00 2001 From: Abhay Bhargav Date: Sun, 12 Jul 2020 09:44:01 +0530 Subject: [PATCH] Minor changes to docker compose and docs --- docker-compose.yml | 2 +- documentation/docs/quick-installation.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6f17dba..25abaa1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: mongo_db: image: 'docker.io/bitnami/mongodb:4.2-debian-10' volumes: - - '/tmp/playbook:/bitnami/mongodb' + - './playbook:/bitnami/mongodb' environment: - MONGODB_USERNAME=threatplaybook - MONGODB_PASSWORD=password123 diff --git a/documentation/docs/quick-installation.md b/documentation/docs/quick-installation.md index 2ac10eb..c2af3f6 100644 --- a/documentation/docs/quick-installation.md +++ b/documentation/docs/quick-installation.md @@ -14,6 +14,10 @@ git clone https://github.com/we45/ThreatPlaybook.git cd ThreatPlaybook ``` +> For Linux users, you might have to add another set of permissions for the MongoDB to work correctly. +> +> `sudo chown -R 1001 $PWD/playbook` + ##### Run the Playbook server ``` docker-compose up -d