Skip to content

Commit

Permalink
mongo add volume
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Feb 24, 2023
1 parent 3b3f863 commit 6a66384
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
command: |
mkdir -p dockereve-master/nginx/.ssl
mkdir -p /tmp/log
mkdir -p /tmp/db
ln -s /tmp/log ./log
ln -s /tmp/db ./db
touch dockereve-master/nginx/.ssl/mriqcep.crt
touch dockereve-master/nginx/.ssl/mriqcep.key
docker pull mongo:latest
Expand Down
2 changes: 2 additions & 0 deletions dockereve-master/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ services:
- "27017:27017"
networks:
- mynet
volumes:
- ./db:/data/db

networks:
mynet:
Expand Down

0 comments on commit 6a66384

Please sign in to comment.