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
|
|
|
|
|
2016-11-26 01:44:35 +01:00
|
|
|
###
|
2016-11-27 12:56:52 +01:00
|
|
|
# NATS
|
2016-11-26 01:44:35 +01:00
|
|
|
###
|
2016-11-27 12:56:52 +01:00
|
|
|
nats:
|
2016-12-04 20:06:06 +01:00
|
|
|
image: nats:latest
|
2016-11-27 12:56:52 +01:00
|
|
|
container_name: mainflux-nats
|
2016-11-26 01:44:35 +01:00
|
|
|
ports:
|
2016-11-27 12:56:52 +01:00
|
|
|
- "4222:4222"
|
2016-11-27 16:11:42 +01:00
|
|
|
- "8222:8222"
|
2016-11-26 01:44:35 +01:00
|
|
|
|
2016-10-04 23:28:08 +02:00
|
|
|
###
|
2016-11-21 22:53:26 +01:00
|
|
|
# Mainflux MQTT Broker
|
2016-10-04 23:28:08 +02:00
|
|
|
###
|
2016-11-21 22:52:14 +01:00
|
|
|
mainflux-mqtt:
|
|
|
|
image: mainflux/mainflux-mqtt:latest
|
|
|
|
container_name: mainflux-mqtt
|
2016-10-04 23:28:08 +02:00
|
|
|
ports:
|
|
|
|
- "1883:1883"
|
2016-11-21 22:52:14 +01:00
|
|
|
- "8883:8883"
|
2016-11-27 19:49:02 +01:00
|
|
|
links:
|
|
|
|
- nats
|
2016-10-04 23:28:08 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
# Mainflux Core Server
|
|
|
|
###
|
2016-11-12 19:13:10 +01:00
|
|
|
mainflux-core:
|
|
|
|
image: mainflux/mainflux-core:latest
|
|
|
|
container_name: mainflux-core
|
2016-10-04 23:28:08 +02:00
|
|
|
links:
|
|
|
|
- mongo
|
2016-11-27 12:56:52 +01:00
|
|
|
- nats
|
2016-10-17 22:06:04 +02:00
|
|
|
ports:
|
|
|
|
- "7070:7070"
|