Skip to content

Commit

Permalink
Addition of explicit Docker volume for mongoDB
Browse files Browse the repository at this point in the history
  • Loading branch information
8ryn committed Aug 18, 2023
1 parent f1fb6cf commit b4967d7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
version: "3.8"

volumes:
mongodata:
name: tomoscan_mongodbdata

services:
motor-sim:
image: sim-pmac
Expand Down Expand Up @@ -121,6 +126,8 @@ services:
image: mongo
ports:
- "27017:27017"
volumes:
- mongodata:/data/db
logging:
driver: "gelf"
options:
Expand Down

0 comments on commit b4967d7

Please sign in to comment.