forked from apache/skywalking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (38 loc) · 975 Bytes
/
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
version: '2.1'
services:
skywalking-webui:
image: sky-walking-ui:3.0.1-2017
expose:
- "8080"
ports:
- "8080:8080"
links:
- skywalking-collector
environment:
- COLLECTOR_SERVERS=skywalking-collector:7001
skywalking-collector:
image: skywalking-collector:3.0.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"
expose:
- "9200"
- "9300"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9200"]
interval: 30s
timeout: 10s
retries: 5