Sfoglia il codice sorgente

Merge branch 'release/v0.4.4'

Jérôme BUISINE 5 anni fa
parent
commit
1a13723612
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. 5 2
      docker-compose.yml

+ 5 - 2
docker-compose.yml

@@ -1,4 +1,4 @@
-version: '3'
+version: '3.7'
 
 services:
 
@@ -8,7 +8,10 @@ services:
         image: mongo
         restart: always
         volumes:
-            - "./data:/data/db" # get access to database files
+            - type: bind
+              source: ./data
+              target: /data/db
+              read_only: false
         ports:
            - "27017:27017"
         networks: