2016-04-20 00:20:57 +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:3.2
|
|
|
|
container_name: mainflux-mongodb
|
|
|
|
command: --smallfiles --nojournal
|
|
|
|
|
|
|
|
###
|
|
|
|
# NATS
|
|
|
|
###
|
|
|
|
nats:
|
|
|
|
image: apcera/gnatsd:latest
|
|
|
|
container_name: mainflux-nats
|
2015-07-28 00:50:20 +02:00
|
|
|
ports:
|
2016-04-20 00:20:57 +02:00
|
|
|
- "4222:4222"
|
|
|
|
- "8333:8333"
|
2015-07-28 00:50:20 +02:00
|
|
|
|
2016-04-20 00:20:57 +02:00
|
|
|
###
|
2016-04-28 23:36:20 +02:00
|
|
|
# Mainflux Core Server
|
2016-04-20 00:20:57 +02:00
|
|
|
###
|
2016-04-28 23:36:20 +02:00
|
|
|
mainflux-core:
|
|
|
|
image: mainflux/mainflux-core-server:latest
|
|
|
|
container_name: mainflux-core
|
2016-04-20 00:20:57 +02:00
|
|
|
links:
|
|
|
|
- mongo
|
|
|
|
- nats
|
2016-04-28 23:36:20 +02:00
|
|
|
ports:
|
|
|
|
- "6969:6969"
|
|
|
|
|
|
|
|
###
|
|
|
|
# Mainflux HTTP Server
|
|
|
|
###
|
|
|
|
mainflux-http:
|
|
|
|
image: mainflux/mainflux-http-server:latest
|
|
|
|
container_name: mainflux-http
|
|
|
|
links:
|
|
|
|
- nats
|
2015-07-28 00:50:20 +02:00
|
|
|
ports:
|
2016-04-20 21:00:38 +02:00
|
|
|
- "7070:7070"
|
2016-04-28 23:36:20 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
# Mainflux MQTT Server
|
|
|
|
###
|
|
|
|
mainflux-mqtt:
|
|
|
|
image: mainflux/mainflux-mqtt-server:latest
|
|
|
|
container_name: mainflux-mqtt
|
|
|
|
links:
|
|
|
|
- nats
|
|
|
|
ports:
|
|
|
|
- "1883:1883"
|
|
|
|
|
|
|
|
###
|
|
|
|
# Mainflux WS Server
|
|
|
|
###
|
|
|
|
mainflux-ws:
|
|
|
|
image: mainflux/mainflux-ws-server:latest
|
|
|
|
container_name: mainflux-ws
|
|
|
|
links:
|
|
|
|
- nats
|
|
|
|
ports:
|
|
|
|
- "9090:9090"
|
|
|
|
|