Browse Source

map local ./data directory to /eventman/data in the container

Davide Alberani 6 years ago
parent
commit
291a77e532
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docker-compose.yml

+ 2 - 0
docker-compose.yml

@@ -6,6 +6,8 @@ services:
       - "5242:5242"
     depends_on:
       - mongo
+    volumes:
+      - ./data:/eventman/data
   mongo:
     image: "mongo:latest"
     volumes: