-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
65 lines (58 loc) · 1.24 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
version: '2'
services:
scrape_petrol:
image: bencinmonitor/collect
links:
- redis
- mongo
depends_on:
- redis
- mongo
- ocr_worker
environment:
- SLEEP_TIME=10
entrypoint: "bash"
command: "./bin/run-sleep.sh scrapy crawl petrol -L INFO"
restart: unless-stopped
scrape_omv:
image: bencinmonitor/collect
links:
- redis
- mongo
depends_on:
- redis
- mongo
- ocr_worker
environment:
- SLEEP_TIME=10
entrypoint: "bash"
command: "./bin/run-sleep.sh scrapy crawl omv -L INFO"
restart: unless-stopped
ocr_worker:
image: bencinmonitor/collect
links:
- redis
- mongo
depends_on:
- redis
- mongo
entrypoint: "python"
command: "-m ocr_machine.workers default"
restart: unless-stopped
rq_monitor:
image: bencinmonitor/collect
links:
- redis:redis
depends_on:
- redis
environment:
- PYTHONIOENCODING=utf-8
- LC_ALL=C.UTF-8
- LANG=C.UTF-8
entrypoint: "rq-dashboard"
command: " --redis-host redis --redis-port 6379 --redis-database 0 --bind 0.0.0.0"
redis:
image: redis:3.2
restart: unless-stopped
mongo:
image: mongo:3