Commit 677f2d00 authored by Sebastien Rosset's avatar Sebastien Rosset

Use volume for mongo files

parent cc5cc998
......@@ -20,6 +20,9 @@ services:
image: shikhir/alpine-mongodb
container_name: mongo
volumes:
- ./.mongo:/data/db
- mongo:/data/db
ports:
- "27017:27017"
\ No newline at end of file
- "27017:27017"
volumes:
mongo: {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment