Skip to content

Commit

Permalink
docker: adding volumes for mongo (#85)
Browse files Browse the repository at this point in the history
* docker: adding volumes for mongo #83

* use project-local mounts for mongo volumes

* comment out ports, fails in CircleCI
  • Loading branch information
jstriebel authored Oct 11, 2017
1 parent 4e853c8 commit fae870b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
version: '2'

services:

time-tracker:
image: scalableminds/time-tracker:$DOCKER_TAG
ports:
Expand Down Expand Up @@ -53,3 +52,8 @@ services:

mongo:
image: mongo
# ports:
# - "27017:27017"
volumes:
- "./dev-db/configdb:/data/configdb"
- "./dev-db/db:/data/db"

0 comments on commit fae870b

Please sign in to comment.