🩹 Root docker-compose: use volume for mongo data

This commit is contained in:
Eric Doughty-Papassideris
2024-03-05 15:54:44 +01:00
committed by Anton Shepilov
parent 1ca6b890a6
commit cbc111be7d
+3 -1
View File
@@ -5,7 +5,7 @@ services:
container_name: mongo
image: mongo
volumes:
- ./docker-data/mongo:/data/db
- mongo-data:/data/db
networks:
- tdrive_network
@@ -49,3 +49,5 @@ networks:
tdrive_network:
driver: bridge
volumes:
mongo-data: