Skip to content

Commit

Permalink
Merge pull request #23 from 8ryn/main
Browse files Browse the repository at this point in the history
Addition of explicit Docker volume for mongoDB
  • Loading branch information
ulrikpedersen authored Aug 21, 2023
2 parents f1fb6cf + b4967d7 commit cc57c62
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 cc57c62

Please sign in to comment.