-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
57 lines (46 loc) · 1.08 KB
/
docker-compose.yaml
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
version: '3.4'
services:
worker:
build: ./docker/worker
volumes:
- ./conf/:/conf/
- ./strategy:/strategy
worker-dev:
build: ./docker/worker
volumes:
- ./conf/:/conf/
- ./strategy:/strategy
notify-bot:
build: ./docker/notify-bot
volumes:
- ./conf/asset.json:/conf/asset.json
- ./conf/notify.json:/conf/notify.json
restart: always
data-collector:
build: ./docker/data-collector
restart: always
volumes:
- ./data:/data
depends_on:
- grafana
influxdb:
image: influxdb:1.7.11
ports:
- "127.0.0.1:8086:8086"
volumes:
- influxdb-data:/var/lib/influxdb
environment:
- INFLUXDB_DB=bots
- INFLUXDB_HTTP_LOG_ENABLED=false
- INFLUXDB_DATA_QUERY_LOG_ENABLED=false
grafana:
build: docker/grafana
ports:
- "127.0.0.1:3000:3000"
volumes:
- ./docker/grafana/dashboards:/etc/grafana/provisioning/dashboards
- ./docker/grafana/datasources:/etc/grafana/provisioning/datasources
depends_on:
- influxdb
volumes:
influxdb-data: