react-express-mongodb: store mongo data in a volume (#422)

master
Nick Sieger 10 months ago committed by GitHub
parent e6b1d2755f
commit fa1788d822
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,7 +34,7 @@ services:
restart: always
image: mongo:4.2.0
volumes:
- ./data:/data/db
- mongo_data:/data/db
networks:
- express-mongo
expose:
@ -42,3 +42,6 @@ services:
networks:
react-express:
express-mongo:
volumes:
mongo_data:

Loading…
Cancel
Save