-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
139 lines (126 loc) · 3.33 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
version: "3"
# Services
services:
elasticsearch:
container_name: elasticsearch
image: blacktop/elasticsearch:6.5.4
volumes:
- es-volume:/usr/share/elasticsearch/data
ports:
- "9200:9200"
environment:
- "cluster.name=snowplow"
- "http.host=0.0.0.0"
- "http.cors.enabled=true"
- "http.cors.allow-origin=*"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "bootstrap.memory_lock=true"
cap_add:
- IPC_LOCK
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
kibana:
container_name: kibana
image: blacktop/kibana:6.5.4
ports:
- "5601:5601"
depends_on:
- elasticsearch
head:
container_name: head
image: kazgurs/elasticsearch-head:latest
ports:
- "9100:9100"
depends_on:
- elasticsearch
iglu:
container_name: iglu
image: nginx
ports:
- "80:80"
volumes:
- ./iglu:/usr/share/nginx/html:ro
command: /bin/bash -c "echo 'autoindex on;' > /etc/nginx/conf.d/autoindex.conf && nginx -g 'daemon off;'"
nsqlookupd:
container_name: nsqlookupd
image: nsqio/nsq
command: /nsqlookupd
ports:
- "4160:4160"
- "4161:4161"
nsqd:
container_name: nsqd
image: nsqio/nsq
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160
depends_on:
- nsqlookupd
ports:
- "4150:4150"
- "4151:4151"
nsqadmin:
container_name: nsqadmin
image: nsqio/nsq
command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
depends_on:
- nsqlookupd
ports:
- "4171:4171"
stream-collector:
container_name: stream-collector
image: snowplow-docker-registry.bintray.io/snowplow/scala-stream-collector-nsq:0.14.0
command: [ "--config", "/snowplow/config/stream-collector.hocon" ]
depends_on:
- nsqd
ports:
- "8080:8080"
volumes:
- ./config:/snowplow/config
environment:
- "SP_JAVA_OPTS=-Xms256m -Xmx256m"
stream-enrich:
container_name: stream-enrich
image: snowplow-docker-registry.bintray.io/snowplow/stream-enrich-nsq:0.19.0
command: [
"--config", "/snowplow/config/stream-enrich.hocon",
"--resolver", "file:/snowplow/config/resolver.json",
"--enrichments", "file:/snowplow/config/enrichments",
"--force-cached-files-download"
]
depends_on:
- stream-collector
links:
- iglu
volumes:
- ./config:/snowplow/config
environment:
- "SP_JAVA_OPTS=-Xms256m -Xmx256m"
elasticsearch-loader-good:
container_name: elasticsearch-loader-good
image: snowplow-docker-registry.bintray.io/snowplow/elasticsearch-loader:0.10.1
command: ["--config", "/snowplow/config/elasticsearch-loader-good.hocon"]
depends_on:
- stream-collector
- elasticsearch
volumes:
- ./config:/snowplow/config
environment:
- "SP_JAVA_OPTS=-Xms256m -Xmx256m"
elasticsearch-loader-bad:
container_name: elasticsearch-loader-bad
image: snowplow-docker-registry.bintray.io/snowplow/elasticsearch-loader:0.10.1
command: ["--config", "/snowplow/config/elasticsearch-loader-bad.hocon"]
depends_on:
- stream-collector
- elasticsearch
volumes:
- ./config:/snowplow/config
environment:
- "SP_JAVA_OPTS=-Xms256m -Xmx256m"
# Volumes
volumes:
es-volume: