2015-07-28 06:50:20 +08:00
|
|
|
api:
|
|
|
|
build: .
|
|
|
|
volumes:
|
|
|
|
- ".:/src"
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
# set up links so that api knows about db, redis, etc...
|
|
|
|
links:
|
|
|
|
- mongodb
|
2015-12-07 07:26:15 +08:00
|
|
|
container_name: mainflux-api-docker
|
2015-07-28 06:50:20 +08:00
|
|
|
|
|
|
|
mongodb:
|
|
|
|
image: mongo
|
|
|
|
ports:
|
|
|
|
- "27017:27017"
|
2015-12-07 07:26:15 +08:00
|
|
|
container_name: mainflux-mongo-docker
|