-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
72 lines (72 loc) · 1.38 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
version: '3'
services:
nginx:
build: ./nginx
links:
- web_server
ports:
- 80:80
web_server:
build: ./web_server
links:
- backend_server
ports:
- 127.0.0.1:3000:3000
backend_server:
build: ./backend_server
links:
- redis
- mongodb
ports:
- 127.0.0.1:4040:4040
news_recommender:
build: ./news_recommender
command: python -u server.py
ports:
- 127.0.0.1:5050:5050
links:
- mongodb
click_processor:
build: ./news_recommender
command: python -u click_log_processor.py
links:
- mongodb
news_classifier:
build: ./news_classifier
ports:
- 127.0.0.1:6060:6060
links:
- mongodb
news_scraper:
build: ./news_scraper
news_monitor:
build: ./news_pipeline
command: python -u news_monitor.py
links:
- redis
news_deduper:
build: ./news_pipeline
command: python -u news_deduper.py
links:
- mongodb
- news_classifier
zeppelin:
build: ./zeppelin
environment:
ZEPPELIN_PORT: 8080
MASTER: local[*]
volumes:
- ./zeppelin/logs:/zeppelin/logs
- ./zeppelin/notebook:/zeppelin/notebook
links:
- mongodb
ports:
- 127.0.0.1:8080:8080
redis:
image: redis
volumes:
- ./redis/data:/data
mongodb:
image: mongo
volumes:
- ./mongodb/data:/data/db