summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index a7c3698f..9f3cf805 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -61,6 +61,8 @@ services:
OPENDC_DB_PASSWORD: opendcpassword
ports:
- 27017:27017
+ #volumes:
+ # - mongo-volume:/data/db
mongo-express:
image: mongo-express
@@ -69,4 +71,8 @@ services:
- 8082:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
- ME_CONFIG_MONGODB_ADMINPASSWORD: rootpassword \ No newline at end of file
+ ME_CONFIG_MONGODB_ADMINPASSWORD: rootpassword
+
+volumes:
+ mongo-volume:
+ external: false \ No newline at end of file