aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 9444ddd04425a822cb10b144d0d025dd0e18d69d (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
version: '3.8'

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

volumes:
  influxdb: