aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 78de83a6833ed4a6bc81f39cc5328090ecf5ddb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3.3'

services:
  broker:
    build: ./mosquitto
    ports:
      - 1883:1883
  db:
    build: ./influxdb
    ports:
      - 8086:8086
    volumes:
      - influxdb:/var/lib/influxdb
    env_file:
      - ./influxdb.env
  write-influx:
    build: ./write-influx
    depends_on:
      - broker
      - db
    env_file:
      - ./influxdb.env
  web:
    build: ./web
    ports:
      - 8080:80
    depends_on:
      - broker
      - db
      - write-influx

volumes:
  influxdb: