From 9ca744d8b6cb261d6fe53d00f418520f77502c44 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Tue, 28 Nov 2017 08:51:58 +0100 Subject: [PATCH] rename data volume --- docker-compose.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 404b500..ddea773 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,8 +3,12 @@ services: eventman: build: . ports: - - "5242:5242" + - "5242:5242" depends_on: - - mongo + - mongo mongo: image: "mongo:latest" + volumes: + - data:/data/db +volumes: + data: