forked from apache/skywalking
-
Notifications
You must be signed in to change notification settings - Fork 92
/
docker-compose.yml
76 lines (73 loc) · 1.9 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
version: '2.1'
services:
skywalking-webui:
image: skywalking/skywalking-ui:3.2.6-2017
expose:
- "8080"
ports:
- "8080:8080"
links:
- skywalking-collector
depends_on:
skywalking-collector:
condition: service_healthy
environment:
- COLLECTOR_SERVERS=skywalking-collector:10800
skywalking-collector:
image: skywalking/skywalking-collector:3.2.6-2017
expose:
- "10800"
- "11800"
- "12800"
ports:
- "12800:12800"
- "11800:11800"
- "10800:10800"
depends_on:
es-server:
condition: service_healthy
zookeeper-server:
condition: service_healthy
links:
- es-server
- zookeeper-server
environment:
- ZK_ADDRESSES=zookeeper-server:2181
- ES_ADDRESSES=es-server:9300
- BIND_HOST=0.0.0.0
- AGENT_JETTY_BIND_HOST=skywalking-collector
- NAMING_BIND_HOST=skywalking-collector
- UI_JETTY_BIND_HOST=skywalking-collector
healthcheck:
test: ["CMD", "curl", "-f", "http://skywalking-collector:10800/agent/gRPC"]
interval: 10s
timeout: 10s
retries: 5
zookeeper-server:
image: zookeeper:3.4.9
expose:
- "2181"
ports:
- "2181:2181"
healthcheck:
test: ["CMD", "/zookeeper-3.4.9/bin/zkServer.sh", "status"]
interval: 10s
timeout: 10s
retries: 5
es-server:
image: elasticsearch:5.3
command: "-Enode.name=TestNode -Enetwork.host=0.0.0.0 -Ehttp.cors.enabled=true -Ehttp.cors.allow-origin=* -Ethread_pool.bulk.queue_size=1000 -Ecluster.name=CollectorDBCluster"
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
expose:
- "9200"
- "9300"
ports:
- "9200:9200"
- "9300:9300"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200"]
interval: 10s
timeout: 10s
retries: 5