123 lines
2.2 KiB
YAML
123 lines
2.2 KiB
YAML
###
|
|
# 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:
|
|
###
|
|
# InfluxDB
|
|
###
|
|
influx:
|
|
image: influxdb:latest
|
|
container_name: mainflux-influxdb
|
|
ports:
|
|
- "8083:8083"
|
|
- "8086:8086"
|
|
- "8090:8090"
|
|
|
|
###
|
|
# MongoDB
|
|
###
|
|
mongo:
|
|
image: mongo:latest
|
|
ports:
|
|
- "27017:27017"
|
|
- "28017:28017"
|
|
container_name: mainflux-mongodb
|
|
command: --smallfiles --nojournal
|
|
|
|
###
|
|
# NATS
|
|
###
|
|
nats:
|
|
image: nats:latest
|
|
container_name: mainflux-nats
|
|
ports:
|
|
- "4222:4222"
|
|
- "8222:8222"
|
|
|
|
###
|
|
# Mainflux MQTT Broker
|
|
###
|
|
mainflux-mqtt:
|
|
image: mainflux/mainflux-mqtt:latest
|
|
container_name: mainflux-mqtt
|
|
ports:
|
|
- "1883:1883"
|
|
- "8883:8883"
|
|
|
|
###
|
|
# Mainflux CoAP Server
|
|
###
|
|
mainflux-coap:
|
|
image: mainflux/mainflux-coap:latest
|
|
container_name: mainflux-coap
|
|
ports:
|
|
- "5683:5683"
|
|
|
|
###
|
|
# Mainflux HTTP Sender
|
|
###
|
|
mainflux-http-sender:
|
|
image: mainflux/mainflux-http-sender:latest
|
|
container_name: mainflux-http-sender
|
|
ports:
|
|
- "7070:7070"
|
|
|
|
###
|
|
# Mainflux InfluxDB Writer
|
|
###
|
|
mainflux-influxdb-writer:
|
|
image: mainflux/mainflux-influxdb-writer:latest
|
|
container_name: mainflux-influxdb-writer
|
|
|
|
###
|
|
# Mainflux InfluxDB Reader
|
|
###
|
|
mainflux-influxdb-reader:
|
|
image: mainflux/mainflux-influxdb-reader:latest
|
|
container_name: mainflux-influxdb-reader
|
|
ports:
|
|
- "7080:7080"
|
|
|
|
###
|
|
# Mainflux Manager
|
|
###
|
|
mainflux-manager:
|
|
image: mainflux/mainflux-manager:latest
|
|
container_name: mainflux-manager
|
|
ports:
|
|
- "9090:9090"
|
|
|
|
###
|
|
# Redis
|
|
###
|
|
redis:
|
|
image: redis:alpine
|
|
container_name: mainflux-redis
|
|
ports:
|
|
- "6379:6379"
|
|
|
|
###
|
|
# Mainflux Auth Server
|
|
###
|
|
mainflux-auth:
|
|
image: mainflux/mainflux-auth:latest
|
|
container_name: mainflux-auth
|
|
ports:
|
|
- "8180:8180"
|
|
|
|
###
|
|
# Mainflux NGINX Proxy
|
|
###
|
|
nginx:
|
|
image: mainflux/mainflux-nginx:latest
|
|
container_name: mainflux-nginx
|
|
ports:
|
|
- "6969:6969"
|