Skip to content

Commit

Permalink
persisting data volume for mongodb
Browse files Browse the repository at this point in the history
  • Loading branch information
amaldonadomat committed Feb 22, 2024
1 parent a2d7833 commit c311765
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ services:
- "27017:27017"
networks:
- fiddle-network
volumes:
- ~/mongo/data:/data/db
networks:
fiddle-network:
driver: bridge

0 comments on commit c311765

Please sign in to comment.