forked from smbale/spring-boot-graph-processing-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
74 lines (74 loc) · 1.51 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
discovery:
container_name: discovery
image: kbastani/twitter-discovery:latest
ports:
- "8761:8761"
links:
- config
config:
container_name: config
image: kbastani/twitter-configuration:latest
ports:
- "8888:8888"
hdfs:
container_name: hdfs
image: sequenceiq/hadoop-docker:2.4.1
command: /etc/bootstrap.sh -d -bash
mazerunner:
container_name: mazerunner
image: kbastani/neo4j-graph-analytics:latest
links:
- hdfs
graphdb:
container_name: graphdb
image: kbastani/docker-neo4j:latest
ports:
- "7474:7474"
- "1337:1337"
volumes:
- /opt/data
links:
- mazerunner
- hdfs
rabbit:
container_name: rabbit
image: rabbitmq:3
twitter-rank-web:
container_name: dashboard
image: kbastani/twitter-rank-web:latest
ports:
- "8081:8081"
links:
- config
- discovery
environment:
SPRING_PROFILES_ACTIVE: "production"
twitter-rank-crawler:
container_name: crawler
image: kbastani/twitter-rank-crawler:latest
ports:
- "8080:8080"
links:
- config
- discovery
- rabbit
- graphdb
environment:
SPRING_SOCIAL_TWITTER_ACCESSTOKENSECRET: "REPLACE"
SPRING_SOCIAL_TWITTER_ACCESSTOKEN: "REPLACE"
SPRING_SOCIAL_TWITTER_APPSECRET: "REPLACE"
SPRING_SOCIAL_TWITTER_APPID: "REPLACE"
SPRING_PROFILES_ACTIVE: "production"
scope:
container_name: weave-scope
volumes:
- "/var/run/:/var/run:rw"
command:
- "--probe.docker"
- "true"
image: weaveworks/scope:0.11.1
net: "host"
pid: "host"
ports:
- "4040:4040"
privileged: true