Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
润土的好友猹
SkyWalking
提交
00dbc3e1
S
SkyWalking
项目概览
润土的好友猹
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
9
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
00dbc3e1
编写于
4月 11, 2017
作者:
Z
zhangxin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add image config options
上级
867b3336
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
130 addition
and
81 deletion
+130
-81
docker-compose.yml
docker-compose.yml
+12
-80
skywalking-collector/skywalking-collector-worker/docker/Dockerfile
...g-collector/skywalking-collector-worker/docker/Dockerfile
+18
-1
skywalking-collector/skywalking-collector-worker/docker/collector.config
...ector/skywalking-collector-worker/docker/collector.config
+63
-0
skywalking-collector/skywalking-collector-worker/docker/docker-entrypoint.sh
...r/skywalking-collector-worker/docker/docker-entrypoint.sh
+37
-0
未找到文件。
docker-compose.yml
浏览文件 @
00dbc3e1
version
:
'
2'
services
:
skywalking-storage
:
image
:
skywalking/skywalking-storage:2.1-2017
expose
:
-
"
34000"
depends_on
:
-
registry-center-server
links
:
-
registry-center-server
environment
:
-
REGISTRY_CENTER_URL=registry-center-server:2181
skywalking-alarm
:
image
:
skywalking/skywalking-alarm:2.1-2017
depends_on
:
-
alarm-coordinate-zk
-
mysql-server
-
redis-server
links
:
-
alarm-coordinate-zk
-
mysql-server
-
redis-server
environment
:
-
ALARM_COORDINATE_ZK_ADDRESS=alarm-coordinate-zk:2181
-
MYSQL_SERVER=mysql-server:3306
-
REDIS_SERVER=redis-server:6379
-
WEBUI_DEPLOY_ADDRESS=192.168.1.104:8080
-
WEBUI_APPLICATION_CONTEXT=skywalking
-
ALARM_MAIL_HOST=smtp.mail.com
-
MAIL_USER_NAME=skywalking
-
MAIL_PASSWORD=skywalking
-
MAIL_SENDER_MAIL=skywalking@mail.com
skywalking-routing
:
image
:
skywalking/skywalking-routing:2.1-2017
expose
:
-
"
23000"
ports
:
-
"
23000:23000"
depends_on
:
-
registry-center-server
links
:
-
registry-center-server
environment
:
-
REGISTRY_CENTER_URL=registry-center-server:2181
-
ALARM_REDIS_SERVER=redis-server:6379
skywalking-webui
:
image
:
skywalking/skywalking-webui:2.1-2017
skywalking-collector-worker
:
image
:
skywalking-collector-worker:3.0-2017
expose
:
-
"
8080"
ports
:
-
"
8080:8080"
-
"
7001"
-
"
1000"
depends_on
:
-
mysql-server
-
registry-center-server
-
es-server
links
:
-
mysql-server
-
registry-center-server
environment
:
-
MYSQL_URL=mysql-server:3306
-
REGISTRY_CENTER_URL=registry-center-server:2181
mysql-server
:
image
:
mysql:5.6
expose
:
-
"
3306"
environment
:
MYSQL_DATABASE
:
test
MYSQL_ROOT_PASSWORD
:
root
registry-center-server
:
image
:
zookeeper:3.4.9
expose
:
-
"
2181"
redis-server
:
image
:
redis:3.2.6
expose
:
-
"
6379"
-
es-server
alarm-coordinate-zk
:
image
:
zookeeper:3.4.9
es-server
:
image
:
elasticsearch:5.3
expose
:
-
"
2181"
\ No newline at end of file
-
"
9200"
-
"
9300"
entrypoint
:
elasticsearch
command
:
"
-Des.node.name=CollectorDBCluster"
\ No newline at end of file
skywalking-collector/skywalking-collector-worker/docker/Dockerfile
浏览文件 @
00dbc3e1
FROM
openjdk:8-jdk
ENV
CLUSTER_CURRENT_HOST_NAME=127.0.0.1 \
CLUSTER_CURRENT_PORT=1000 \
CLUSTER_CURRENT_ROLES=WorkersListener \
CLUSTER_SEED_NODES=127.0.0.1:1000,127.0.0.1:1001 \
ES_CLUSTER_NAME=CollectorDBCluster \
ES_CLUSTER_NODES=127.0.0.1:9300 \
ES_INDEX_SHARDS_NUMBER=2 \
ES_INDEX_REPLICAS_NUMBER=0 \
HTTP_HOST_NAME=127.0.0.1 \
HTTP_PORT=7001 \
HTTP_CONTEXT_PATH=/
ADD
skywalking-collector.tar.gz /usr/local
COPY
startup.sh /usr/local/skywalking-collector/bin
CMD
["/bin/bash","/usr/local/skywalking-collector/bin/startup.sh"]
COPY
collector.config /usr/local/skywalking-collector/config
ADD
docker-entrypoint.sh /
RUN
chmod
+x /docker-entrypoint.sh
&&
chmod
+x /usr/local/skywalking-collector/bin/startup.sh
ENTRYPOINT
["/docker-entrypoint.sh"]
CMD
["/usr/local/skywalking-collector/bin/startup.sh"]
skywalking-collector/skywalking-collector-worker/docker/collector.config
0 → 100644
浏览文件 @
00dbc3e1
cluster
.
current
.
hostname
={
CLUSTER_CURRENT_HOST_NAME
}
cluster
.
current
.
port
={
CLUSTER_CURRENT_PORT
}
cluster
.
current
.
roles
={
CLUSTER_CURRENT_ROLES
}
cluster
.
seed_nodes
={
CLUSTER_SEED_NODES
}
es
.
cluster
.
name
={
ES_CLUSTER_NAME
}
es
.
cluster
.
nodes
={
ES_CLUSTER_NODES
}
es
.
cluster
.
transport
.
sniffer
=
true
es
.
index
.
shards
.
number
={
ES_INDEX_SHARDS_NUMBER
}
es
.
index
.
replicas
.
number
={
ES_INDEX_REPLICAS_NUMBER
}
http
.
hostname
={
HTTP_HOST_NAME
}
http
.
port
={
HTTP_PORT
}
http
.
contextPath
={
HTTP_CONTEXT_PATH
}
cache
.
analysis
.
size
=
1024
cache
.
persistence
.
size
=
1024
WorkerNum
.
Node
.
NodeCompAgg
.
Value
=
10
WorkerNum
.
Node
.
NodeMappingDayAgg
.
Value
=
10
WorkerNum
.
Node
.
NodeMappingHourAgg
.
Value
=
10
WorkerNum
.
Node
.
NodeMappingMinuteAgg
.
Value
=
10
WorkerNum
.
NodeRef
.
NodeRefDayAgg
.
Value
=
10
WorkerNum
.
NodeRef
.
NodeRefHourAgg
.
Value
=
10
WorkerNum
.
NodeRef
.
NodeRefMinuteAgg
.
Value
=
10
WorkerNum
.
NodeRef
.
NodeRefResSumDayAgg
.
Value
=
10
WorkerNum
.
NodeRef
.
NodeRefResSumHourAgg
.
Value
=
10
WorkerNum
.
NodeRef
.
NodeRefResSumMinuteAgg
.
Value
=
10
WorkerNum
.
GlobalTrace
.
GlobalTraceAgg
.
Value
=
10
Queue
.
GlobalTrace
.
GlobalTraceSave
.
Size
=
1024
Queue
.
GlobalTrace
.
GlobalTraceAnalysis
.
Size
=
1024
Queue
.
Segment
.
SegmentPost
.
Size
=
1024
Queue
.
Segment
.
SegmentCostSave
.
Size
=
1024
Queue
.
Segment
.
SegmentSave
.
Size
=
1024
Queue
.
Segment
.
SegmentExceptionSave
.
Size
=
1024
Queue
.
Node
.
NodeCompAnalysis
.
Size
=
1024
Queue
.
Node
.
NodeMappingDayAnalysis
.
Size
=
1024
Queue
.
Node
.
NodeMappingHourAnalysis
.
Size
=
1024
Queue
.
Node
.
NodeMappingMinuteAnalysis
.
Size
=
1024
Queue
.
Node
.
NodeCompSave
.
Size
=
1024
Queue
.
Node
.
NodeMappingDaySave
.
Size
=
1024
Queue
.
Node
.
NodeMappingHourSave
.
Size
=
1024
Queue
.
Node
.
NodeMappingMinuteSave
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefDayAnalysis
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefHourAnalysis
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefMinuteAnalysis
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefDaySave
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefHourSave
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefMinuteSave
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefResSumDaySave
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefResSumHourSave
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefResSumMinuteSave
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefResSumDayAnalysis
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefResSumHourAnalysis
.
Size
=
1024
Queue
.
NodeRef
.
NodeRefResSumMinuteAnalysis
.
Size
=
1024
skywalking-collector/skywalking-collector-worker/docker/docker-entrypoint.sh
0 → 100644
浏览文件 @
00dbc3e1
#!/usr/bin/env bash
echo
"replace CLUSTER_CURRENT_HOST_NAME with
$CLUSTER_CURRENT_HOST_NAME
"
eval sed
-i
-e
's/\{CLUSTER_CURRENT_HOST_NAME\}/$CLUSTER_CURRENT_HOST_NAME/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace CLUSTER_CURRENT_PORT with
$CLUSTER_CURRENT_PORT
"
eval sed
-i
-e
's/\{CLUSTER_CURRENT_PORT\}/$CLUSTER_CURRENT_PORT/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace CLUSTER_CURRENT_ROLES with
$CLUSTER_CURRENT_ROLES
"
eval sed
-i
-e
's/\{CLUSTER_CURRENT_ROLES\}/$CLUSTER_CURRENT_ROLES/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace CLUSTER_SEED_NODES with
$CLUSTER_SEED_NODES
"
eval sed
-i
-e
's/\{CLUSTER_SEED_NODES\}/$CLUSTER_SEED_NODES/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace ES_CLUSTER_NAME with
$ES_CLUSTER_NAME
"
eval sed
-i
-e
's/\{ES_CLUSTER_NAME\}/$ES_CLUSTER_NAME/'
/usr/local/skywalking-collector/config/collector.config
echo
"replcae ES_CLUSTER_NODES with
$ES_CLUSTER_NODES
"
eval sed
-i
-e
's/\{ES_CLUSTER_NODES\}/$ES_CLUSTER_NODES/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace ES_INDEX_SHARDS_NUMBER with
$ES_INDEX_SHARDS_NUMBER
"
eval sed
-i
-e
's/\{ES_INDEX_SHARDS_NUMBER\}/$ES_INDEX_SHARDS_NUMBER/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace ES_INDEX_REPLICAS_NUMBER with
$ES_INDEX_REPLICAS_NUMBER
"
eval sed
-i
-e
's/\{ES_INDEX_REPLICAS_NUMBER\}/$ES_INDEX_REPLICAS_NUMBER/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace HTTP_HOST_NAME with
$HTTP_HOST_NAME
"
eval sed
-i
-e
's/\{HTTP_HOST_NAME\}/$HTTP_HOST_NAME/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace HTTP_PORT with
$HTTP_PORT
"
eval sed
-i
-e
's/\{HTTP_PORT\}/$HTTP_PORT/'
/usr/local/skywalking-collector/config/collector.config
echo
"replace HTTP_CONTEXT_PATH with
$HTTP_CONTEXT_PATH
"
eval sed
-i
-e
's/\{HTTP_CONTEXT_PATH\}/$HTTP_CONTEXT_PATH/'
/usr/local/skywalking-collector/config/collector.config
exec
"
$@
"
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录