-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
62 lines (55 loc) · 1.36 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
58
59
60
61
62
---
version: "3.5"
x-logging: &default-logging
options:
max-size: "10m"
max-file: "1"
driver: json-file
networks:
catenae:
name: catenae
services:
aerospike:
container_name: polypus-twitter-aerospike
image: aerospike/aerospike-server:4.1.0.6
volumes:
- ./aerospike.conf:/opt/aerospike/etc/aerospike.conf
command: --config-file /opt/aerospike/etc/aerospike.conf
logging: *default-logging
networks:
- catenae
kafka:
container_name: polypus-twitter-kafka
image: catenae/kafka
ulimits:
nofile: 90000
logging: *default-logging
networks:
- catenae
proxy_balancer:
container_name: polypus-twitter-proxy-balancer
image: brunneis/proxy-balancer
logging: *default-logging
networks:
- catenae
twitter_crawler:
container_name: polypus-twitter-twitter-crawler
image: brunneis/twitter-firehose
volumes:
- ./crawler.conf:/opt/polypus/crawler.conf
- ./dicts:/opt/polypus/dicts
logging: *default-logging
depends_on:
- aerospike
- kafka
networks:
- catenae
twitter_adapter:
container_name: polypus-twitter-twitter-adapter
image: brunneis/twitter-firehose-json-adapter
command: json_adapter.py -k kafka:9092 -i raw_tweets -o new_texts
logging: *default-logging
depends_on:
- kafka
networks:
- catenae