-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (69 loc) · 1.38 KB
/
docker-compose.yml
File metadata and controls
69 lines (69 loc) · 1.38 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: "3.7"
services:
grafana:
image: grafana/grafana:7.1.0
container_name: grafana
restart: unless-stopped
user: ${GRAFANA_USER_ID}
ports:
- 3000:3000
networks:
- monitoring
volumes:
- ${GRAFANA_VOLUME}:/var/lib/grafana
env_file:
- .env
influxdb:
image: influx
container_name: influxdb
restart: unless-stopped
ports:
- "9999:9999"
networks:
- monitoring
volumes:
- "${INFLUX_VOLUME}:/root/.influxdbv2"
env_file:
- .env
webthings-gateway:
container_name: gateway
image: mozillaiot/gateway:latest
restart: unless-stopped
network_mode: host
environment:
- "TZ=Europe/Rome"
volumes:
- ${MOZILLA_IOT_VOLUME}:/home/node/.mozilla-iot
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "10"
env_file:
- .env
alert_bot:
image: alert_bot
container_name: alert_bot
restart: unless-stopped
ports:
- 4000:4000
build:
context: ./AlertBot
dockerfile: Dockerfile
env_file:
- .env
networks:
- monitoring
writer_service:
image: writer_service
container_name: writer_service
restart: unless-stopped
build:
context: ./WriterService
dockerfile: Dockerfile
env_file:
- .env
networks:
- monitoring
networks:
monitoring: