From f53924396e925833f732b213a461cf1798b52ad2 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Tue, 28 Nov 2017 23:25:42 +0100 Subject: [PATCH] add documentation on how to run docker-compose --- docs/DOCKER.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/DOCKER.md b/docs/DOCKER.md index 893135b..777bcad 100644 --- a/docs/DOCKER.md +++ b/docs/DOCKER.md @@ -2,11 +2,11 @@ EventMan(ager) requires MongoDB to run. -You can run docker-compose.yml to have a complete environment. +You can use docker-compose.yml to have a complete environment. Run: `docker-compose up --build` The data is stored in the *eventman_data* volume: do not cancel it. -In the *docker-tools* directory there is a set of tools to build and run another container to dump and restore the database; from that directory you can: +In the *docker-tools* directory there is a set of tools to build and run another container to dump and restore the database; you need the docker-compose running, to execute them. From that directory you can: * **dump.sh**: dump the current database in a file like *eventman-dump-2017-11-28T21:57:43.tgz* * **restore.sh** *eventman-dump-2017-11-28T21:57:43.tgz*: restore the given dump. Notice that the current database is completely removed, so DO NOT restore a dump if you don't have a backup of the current data