From 2740ccc2807d784e188009ea9d32c4dcebba920f Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Sun, 26 Nov 2017 20:38:15 +0100 Subject: [PATCH] add docker-compose for utilities --- docker-compose-mongo-cmd.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docker-compose-mongo-cmd.yml diff --git a/docker-compose-mongo-cmd.yml b/docker-compose-mongo-cmd.yml new file mode 100644 index 0000000..8c51342 --- /dev/null +++ b/docker-compose-mongo-cmd.yml @@ -0,0 +1,7 @@ +version: '3' +services: + mongo-dump: + image: "mongo:latest" + command: ["mongodump", "--host", "eventman-mongo", "--out", "/tmp/", "--db", "eventman"] + external_links: + - eventman_eventman-mongo_1:eventman-mongo