From b13fe0f2e78a88419985223034336b39f38151b8 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Tue, 28 Nov 2017 23:21:58 +0100 Subject: [PATCH] add doc for Docker --- docs/DOCKER.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/DOCKER.md diff --git a/docs/DOCKER.md b/docs/DOCKER.md new file mode 100644 index 0000000..893135b --- /dev/null +++ b/docs/DOCKER.md @@ -0,0 +1,13 @@ +# Docker container + +EventMan(ager) requires MongoDB to run. + +You can run docker-compose.yml to have a complete environment. + +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: + +* **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 +