api:
build: api/
ports:
- "172.17.42.1:3031:3031"
links:
- mongodb:db
volumes_from:
- sensors-data
collect:
build: collect/
mongodb:
image: mongo
command: mongod --auth
- sensors-mongodb-data