forked from Runbook/runbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
91 lines (91 loc) · 1.82 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
rethinkdb:
image: rethinkdb:latest
ports:
- "8080:8080"
redis:
image: redis:latest
ports:
- "6379:6379"
web:
build: src/web/
volumes:
- ./src/web:/code:ro
- ./src/web/instance:/config:ro
ports:
- "80:8000"
links:
- rethinkdb
- bridge
bridge:
build: src/bridge/
volumes:
- ./src/bridge:/code:ro
links:
- redis
- rethinkdb
- actionbroker
actionbroker:
build: src/actions/
command: python -B /code/broker.py /config/actionBroker.yml
volumes:
- ./src/actions:/code:ro
ports:
- 6000
- 6001
actioner:
build: src/actions/
command: python -B /code/actioner.py /config/config.yml
volumes:
- ./src/actions:/code:ro
links:
- redis
- rethinkdb
- actionbroker
- bridge
monitorbroker:
build: src/monitors/
command: python -B /code/broker.py /config/broker.yml
volumes:
- ./src/monitors:/code:ro
ports:
- 5879
- 5878
control30:
build: src/monitors/
command: python -B /code/control.py /config/control-30sec.yml
volumes:
- ./src/monitors:/code:ro
links:
- redis
- monitorbroker
control1:
build: src/monitors/
command: python -B /code/control.py /config/control-1min.yml
volumes:
- ./src/monitors:/code:ro
links:
- redis
- monitorbroker
control5:
build: src/monitors/
command: python -B /code/control.py /config/control-5min.yml
volumes:
- ./src/monitors:/code:ro
links:
- redis
- monitorbroker
monitorworker:
build: src/monitors/
command: bash -c "while [ 1 -eq 1 ]; do python -B /code/worker.py /config/worker.yml; done"
volumes:
- ./src/monitors:/code:ro
links:
- monitorbroker
- actionbroker
rediscommander:
build: devhelper/inspect/redis/
command: redis-commander --redis-host redis --redis-port 6379 --redis-db 0
links:
- redis
ports:
- "8081:8081"