2016-10-04 23:28:08 +02:00
|
|
|
###
|
|
|
|
# Copyright (c) Mainflux
|
|
|
|
#
|
|
|
|
# Mainflux server is licensed under an Apache license, version 2.0 license.
|
|
|
|
# All rights not explicitly granted in the Apache license, version 2.0 are reserved.
|
|
|
|
# See the included LICENSE file for more details.
|
|
|
|
###
|
|
|
|
|
|
|
|
###
|
|
|
|
# MongoDB
|
|
|
|
###
|
|
|
|
mongo:
|
|
|
|
image: mongo:latest
|
2016-10-08 16:48:27 +02:00
|
|
|
ports:
|
|
|
|
- "27017:27017"
|
|
|
|
- "28017:28017"
|
2016-10-04 23:28:08 +02:00
|
|
|
container_name: mainflux-mongodb
|
|
|
|
command: --smallfiles --nojournal
|
|
|
|
|
|
|
|
###
|
|
|
|
# Emqttd
|
|
|
|
###
|
|
|
|
emqttd:
|
|
|
|
image: mainflux/emqttd-docker:latest
|
|
|
|
container_name: mainflux-emqttd
|
|
|
|
ports:
|
|
|
|
- "1883:1883"
|
|
|
|
- "8083:8083"
|
|
|
|
- "18083:18083"
|
|
|
|
|
|
|
|
###
|
|
|
|
# Mainflux Core Server
|
|
|
|
###
|
2016-10-17 22:06:04 +02:00
|
|
|
mainflux:
|
2016-10-04 23:28:08 +02:00
|
|
|
image: mainflux/mainflux:latest
|
|
|
|
container_name: mainflux-server
|
|
|
|
links:
|
|
|
|
- mongo
|
2016-10-08 16:48:27 +02:00
|
|
|
- emqttd
|
2016-10-17 22:06:04 +02:00
|
|
|
ports:
|
|
|
|
- "7070:7070"
|