forked from apache/skywalking
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (41 loc) · 1.06 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
version: '2.1'
services:
skywalking-webui:
image: skywalking/sky-walking-ui:3.1-2017
expose:
- "8080"
ports:
- "8080:8080"
links:
- skywalking-collector
environment:
- COLLECTOR_SERVERS=skywalking-collector:12800
skywalking-collector:
image: skywalking/skywalking-collector:3.1-2017
expose:
- "12800"
- "1000"
ports:
- "12800:12800"
depends_on:
es-server:
condition: service_healthy
links:
- es-server
environment:
- ES_CLUSTER_NODES=es-server:9300
- HTTP_HOST_NAME=0.0.0.0
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"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200"]
interval: 30s
timeout: 10s
retries: 5