forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
159 lines (128 loc) · 3.57 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
version: '2'
services:
beat:
build: ${PWD}/.
environment:
- TEST_ENVIRONMENT=false
working_dir: /go/src/github.com/elastic/beats/metricbeat
volumes:
- ${PWD}/..:/go/src/github.com/elastic/beats/
# This is required to on-demand launching the rest on containers for tests & also docker module tests:
- /var/run/docker.sock:/var/run/docker.sock
command: make
env_file:
- ./module/aerospike/_meta/env
- ./module/apache/_meta/env
- ./module/ceph/_meta/env
- ./module/couchbase/_meta/env
- ./module/dropwizard/_meta/env
- ./module/elasticsearch/_meta/env
- ./module/etcd/_meta/env
- ./module/haproxy/_meta/env
- ./module/http/_meta/env
- ./module/jolokia/_meta/env
- ./module/kafka/_meta/env
- ./module/kibana/_meta/env
- ./module/kubernetes/_meta/env
- ./module/logstash/_meta/env
- ./module/memcached/_meta/env
- ./module/mongodb/_meta/env
- ./module/munin/_meta/env
- ./module/mysql/_meta/env
- ./module/nginx/_meta/env
- ./module/php_fpm/_meta/env
- ./module/postgresql/_meta/env
- ./module/prometheus/_meta/env
- ./module/rabbitmq/_meta/env
- ./module/redis/_meta/env
- ./module/uwsgi/_meta/env
- ./module/zookeeper/_meta/env
# Modules
aerospike:
build: ./module/aerospike/_meta
apache:
build: ./module/apache/_meta
apache_2_4_12:
build:
context: ./module/apache/_meta
dockerfile: Dockerfile.2.4.12
ceph:
build: ./module/ceph/_meta
couchbase:
build: ./module/couchbase/_meta
dropwizard:
build: ./module/dropwizard/_meta
elasticsearch:
build: ./module/elasticsearch/_meta
environment:
- "ES_JAVA_OPTS=-Xms90m -Xmx90m"
- "network.host="
- "transport.host=127.0.0.1"
- "http.host=0.0.0.0"
- "xpack.security.enabled=false"
etcd:
build: ./module/etcd/_meta
haproxy:
build: ./module/haproxy/_meta
haproxy_1_6:
build:
context: ./module/haproxy/_meta
dockerfile: Dockerfile.1.6
haproxy_1_7:
build:
context: ./module/haproxy/_meta
dockerfile: Dockerfile.1.7
http:
build: ./module/http/_meta
jolokia:
build: ./module/jolokia/_meta
kafka:
build: ./module/kafka/_meta
kibana:
build: ./module/kibana/_meta
kubernetes:
build: ./module/kubernetes/_meta
network_mode: host
pid: host
privileged: true
volumes:
- /:/rootfs:ro
- /sys:/sys
- /var/lib/docker:/var/lib/docker
- /var/run:/var/run
kubestate:
build:
context: ./module/kubernetes/_meta/
dockerfile: Dockerfile.kube-state
depends_on:
- kubernetes
logstash:
build: ./module/logstash/_meta
memcached:
build: ./module/memcached/_meta
mongodb:
build: ./module/mongodb/_meta
munin:
build: ./module/munin/_meta
mysql:
build: ./module/mysql/_meta
nginx:
build: ./module/nginx/_meta
phpfpm:
build: ./module/php_fpm/_meta
postgresql:
build: ./module/postgresql/_meta
prometheus:
build: ./module/prometheus/_meta
rabbitmq:
build: ./module/rabbitmq/_meta
redis:
build: ./module/redis/_meta
uwsgi_tcp:
build: ./module/uwsgi/_meta
command: uwsgi --http :8080 --master --processes 1 --threads 2 --stats 0.0.0.0:9191 --memory-report --wsgi-file app.py
uwsgi_http:
build: ./module/uwsgi/_meta
command: uwsgi --http :8080 --master --processes 1 --threads 2 --stats 0.0.0.0:9192 --memory-report --stats-http --wsgi-file app.py
zookeeper:
build: ./module/zookeeper/_meta