-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
49 lines (46 loc) · 1.26 KB
/
docker-compose.yml
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
version: "3"
services:
influxdb:
image: quay.io/influxdb/influxdb:2.0.0-beta
command: --reporting-disabled
ports:
- "9999:9999"
volumes:
- ./data/influxdb:/root/.influxdbv2
logging:
options:
max-size: "50m"
max-file: "10"
restart: unless-stopped
grafana:
image: grafana/grafana:6.7.2
ports:
- "3000:3000"
volumes:
- ./data/grafana:/var/lib/grafana
environment:
- GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource,grafana-influxdb-flux-datasource,natel-discrete-panel,petrslavotinek-carpetplot-panel,vonage-status-panel,flant-statusmap-panel,neocat-cal-heatmap-panel
logging:
options:
max-size: "50m"
max-file: "10"
restart: unless-stopped
scraper:
build:
context: .
dockerfile: Dockerfile
shm_size: "1gb"
volumes:
- ./data/userdatadocker:/usr/data/userdata
- ./data/screenshots:/usr/data/screenshots
environment:
- CONTACT_TARGET=${CONTACT_TARGET}
- INFLUXDB_TOKEN=${INFLUXDB_TOKEN}
- INFLUXDB_ORG=${INFLUXDB_ORG}
- INFLUXDB_BUCKET=${INFLUXDB_BUCKET}
- ISDOCKER=TRUE
logging:
options:
max-size: "50m"
max-file: "10"
restart: unless-stopped