Mainflux.mainflux/docker-compose.yml

17 lines
281 B
YAML

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
ports:
- "27017:27017"
container_name: mainflux-mongo-docker