Add composition - towards 1.0.0

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
Drasko DRASKOVIC 2017-09-02 02:39:37 +02:00
parent 1ce3f72d87
commit 04586424b3
1 changed files with 65 additions and 0 deletions

65
docker-compose-new.yml Normal file
View File

@ -0,0 +1,65 @@
###
# Copyright (c) 2015-2017 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.
###
version: "2"
services:
###
# NATS
###
nats:
image: nats:latest
container_name: mainflux-nats
ports:
- "4222:4222"
- "8222:8222"
###
# Manager
###
manager:
image: mainflux/manager:latest
container_name: mainflux-manager
ports:
- "9090:9090"
###
# Message Writer
###
message-writer:
image: mainflux/message-writer:latest
container_name: mainflux-message-writer
###
# MQTT Broker
###
mqtt-adapter:
image: mainflux/mqtt-adapter:latest
container_name: mainflux-mqtt
ports:
- "1883:1883"
- "8883:8883"
###
# CoAP Server
###
mainflux-coap:
image: mainflux/coap-adapter:latest
container_name: mainflux-coap
ports:
- "5683:5683"
###
# HTTP Server
###
http-adapter:
image: mainflux/http-adapter:latest
container_name: mainflux-http
ports:
- "7070:7070"