api:
build: .
volumes:
- ".:/src"
ports:
- "8080:8080"
# set up links so that api knows about db, redis, etc...
links:
- mongodb
container_name: mainflux-api-docker
mongodb:
image: mongo
- "27017:27017"
container_name: mainflux-mongo-docker