1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-12 19:29:30 +08:00
Mainflux.mainflux/docker-compose.yml

40 lines
693 B
YAML
Raw Normal View History

###
# 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:
- "4222:4222"
- "8333:8333"
2015-07-28 00:50:20 +02:00
###
# Mainflux
###
mainflux:
image: mainflux/mainflux-lite:latest
container_name: mainflux-api
volumes:
- ./config:/mainflux/config
links:
- mongo
- nats
2015-07-28 00:50:20 +02:00
ports:
- "7070:7070"