Add InfluxDB
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
This commit is contained in:
parent
9e64f3a7d3
commit
2afd866ec3
|
@ -6,6 +6,16 @@
|
|||
# See the included LICENSE file for more details.
|
||||
###
|
||||
|
||||
###
|
||||
# InfluxDB
|
||||
###
|
||||
influx:
|
||||
image: influxdb:latest
|
||||
container_name: mainflux-influxdb
|
||||
ports:
|
||||
- "8083:8083"
|
||||
- "8086:8086"
|
||||
|
||||
###
|
||||
# MongoDB
|
||||
###
|
||||
|
@ -33,6 +43,7 @@ mainflux-core:
|
|||
volumes:
|
||||
- ./config/core/config.yml:/go/src/github.com/mainflux/mainflux-core-server/config.yml
|
||||
links:
|
||||
- influx
|
||||
- mongo
|
||||
- nats
|
||||
|
||||
|
|
|
@ -6,11 +6,21 @@
|
|||
# See the included LICENSE file for more details.
|
||||
###
|
||||
|
||||
###
|
||||
# InfluxDB
|
||||
###
|
||||
influx:
|
||||
image: influxdb:latest
|
||||
container_name: mainflux-influxdb
|
||||
ports:
|
||||
- "8083:8083"
|
||||
- "8086:8086"
|
||||
|
||||
###
|
||||
# MongoDB
|
||||
###
|
||||
mongo:
|
||||
image: mongo:3.2
|
||||
image: mongo:latest
|
||||
container_name: mainflux-mongodb
|
||||
command: --smallfiles --nojournal
|
||||
|
||||
|
@ -31,6 +41,7 @@ mainflux-core:
|
|||
image: mainflux/mainflux-core-server:latest
|
||||
container_name: mainflux-core
|
||||
links:
|
||||
- influx
|
||||
- mongo
|
||||
- nats
|
||||
|
||||
|
|
Loading…
Reference in New Issue