2016-10-05 05:28:08 +08:00
|
|
|
###
|
2017-05-24 06:36:59 +08:00
|
|
|
# Copyright (c) 2015-2017 Mainflux
|
2016-10-05 05:28:08 +08:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
###
|
|
|
|
|
2017-05-24 06:02:53 +08:00
|
|
|
version: "2"
|
2016-10-05 05:28:08 +08:00
|
|
|
|
2017-05-24 06:02:53 +08:00
|
|
|
services:
|
|
|
|
###
|
|
|
|
# NATS
|
|
|
|
###
|
|
|
|
nats:
|
|
|
|
image: nats:latest
|
|
|
|
container_name: mainflux-nats
|
|
|
|
ports:
|
|
|
|
- "4222:4222"
|
|
|
|
- "8222:8222"
|
|
|
|
|
|
|
|
###
|
2017-09-03 04:22:00 +08:00
|
|
|
# Manager
|
|
|
|
###
|
|
|
|
manager:
|
|
|
|
image: mainflux/manager:latest
|
|
|
|
container_name: mainflux-manager
|
|
|
|
ports:
|
|
|
|
- "9090:9090"
|
|
|
|
|
|
|
|
###
|
|
|
|
# Message Writer
|
2017-05-24 06:02:53 +08:00
|
|
|
###
|
2017-09-03 04:22:00 +08:00
|
|
|
message-writer:
|
|
|
|
image: mainflux/message-writer:latest
|
|
|
|
container_name: mainflux-message-writer
|
|
|
|
|
|
|
|
###
|
|
|
|
# MQTT Broker
|
|
|
|
###
|
|
|
|
mqtt-adapter:
|
|
|
|
image: mainflux/mqtt-adapter:latest
|
2017-05-24 06:02:53 +08:00
|
|
|
container_name: mainflux-mqtt
|
|
|
|
ports:
|
|
|
|
- "1883:1883"
|
|
|
|
- "8883:8883"
|
|
|
|
|
|
|
|
###
|
2017-09-03 04:22:00 +08:00
|
|
|
# CoAP Server
|
2017-05-24 06:02:53 +08:00
|
|
|
###
|
|
|
|
mainflux-coap:
|
2017-09-03 04:22:00 +08:00
|
|
|
image: mainflux/coap-adapter:latest
|
2017-05-24 06:02:53 +08:00
|
|
|
container_name: mainflux-coap
|
|
|
|
ports:
|
|
|
|
- "5683:5683"
|
|
|
|
|
|
|
|
###
|
2017-09-03 04:22:00 +08:00
|
|
|
# HTTP Server
|
2017-05-24 06:02:53 +08:00
|
|
|
###
|
2017-09-03 04:22:00 +08:00
|
|
|
http-adapter:
|
|
|
|
image: mainflux/http-adapter:latest
|
|
|
|
container_name: mainflux-http
|
2017-05-24 06:02:53 +08:00
|
|
|
ports:
|
|
|
|
- "7070:7070"
|
|
|
|
|