提交 1909e7d7 作者: 施泽锋

11

上级 2db8bc7d
version: '2'
services:
elasticserach:
image: harbor.playground.wsy010.cn/elk/elsticsearch:7.0.1
environment:
- ES_XMS=${es_xms}
- ES_XMX=${es_xmx]
- ES_NETHOST=${es_nethost}
- ES_PORT=${es_port}
- ES_CLUSTER=${es_cluster}
- ES_NODE=${es_node}
stdin_open: true
volumes:
- els-data:/opt/path/to/data
tty: true
labels:
traefik.frontend.rule: Host:${host_url}
traefik.port: '9200'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.backend.loadbalancer.stickiness: 'true'
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
kibana:
image: harbor.playground.wsy010.cn/elk/kibana:7.0.1
environment:
- KI_PORT=${ki_port}
- KI_HOST=${ki_host}
- KI_ESHOST=${ki_eshost}
- KI_ESPORT=${ki_esport}
stdin_open: true
tty: true
labels:
traefik.frontend.rule: Host:${host_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.backend.loadbalancer.stickiness: 'true'
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
logstash:
image: harbor.playground.wsy010.cn/elk/logstash:7.0.1
environment:
- LOG_XMS=${log_xms}
- LOG_XMX=${log_xmx}
- LOGSTASH_INPUT=${logstash_input}
- LOGSTASH_OUTPUT=${logstash_output}
- LOGSTASH_FILTERS=${logstash_filters}
- DEBUG=${debug}
stdin_open: true
tty: true
volumes:
els-data:
driver: ${volumns_dirver}
\ No newline at end of file
version: '2'
catalog:
name: "Wsy-ELK"
version: "7.0.1"
description: "微三云定制化ELK日志中心"
uuid: wsyelk
minimum_rancher_version: v1.6.26
questions:
- variable: host_url
description: "日志中心访问域名,80端口kibana使用,9200可访问elasticsearch"
label: "指定域名"
required: true
default: ""
type: "string"
- variable: ex_xms
descriptions: "Elasticsearch 最小内存配置"
label: "ES_XMS"
required: true
default: "256m"
type: "string"
- variable: ex_xmx
descriptions: "Elasticsearch 最大内存配置"
label: "ES_XMX"
required: true
default: "512m"
type: "string"
- variable: es_nethost
descriptions: "Elasticsearch host配置,默认0.0.0.0"
label: "ES_NETHOST"
required: true
default: "0.0.0.0"
type: "string"
- variable: es_port
descriptions: "Elasticsearch 端口配置,默认9200"
label: "ES_PORT"
required: true
default: "9200"
type: "string"
- variable: es_cluster
descriptions: "Elasticsearch 集群名,默认docker-cluster"
label: "ES_CLUSTER"
required: true
default: "docker-cluster"
type: "string"
- variable: es_node
descriptions: "Elasticsearch 节点名,默认host1【当前只支持单机配置】"
label: "ES_NODE"
required: true
default: "host1"
type: "string"
- variable: ki_port
descriptions: "Kibana port,Default 5601"
label: "KI_PORT"
required: true
default: "5601"
type: "string"
- variable: ki_host
descriptions: "Kibana host,Default 0.0.0.0"
label: "KI_PORT"
required: true
default: "0.0.0.0"
type: "string"
- variable: ki_eshost
descriptions: "Connect es host,Default elasticsearch"
label: "ki_eshost"
required: true
default: "elasticsearch"
type: "string"
- variable: ki_esport
descriptions: "Connect es port,Default 9200"
label: "ki_esport"
required: true
default: "9200"
type: "string"
- variable: log_xms
descriptions: "Logstash 最小内存配置"
label: "LOG_XMS"
required: true
default: "256m"
type: "string"
- variable: log_xmx
descriptions: "Logstash 最大内存配置"
label: "LOG_XMX"
required: true
default: "512m"
- variable: logstash_input
description: |
Logstash input
label: logstash_input
type: "multiline"
required: true
default: ""
- variable: logstash_filters
description: |
Logstash filters
label: logstash_filters
type: "multiline"
required: false
default: ""
- variable: logstash_output
description: |
Logstash output
label: logstash_output
type: "multiline"
required: true
default: ""
- variable: debug
descriptions: "Logstash debug"
label: "DEBUG"
required: true
default: "true"
type: "string"
- variable: volume_driver
description: "应用数据卷驱动程序"
label: "卷驱动"
required: true
default: "local"
type: enum
options:
- rancher-nfs
- rancher-efs
- rancher-ebs
- local
services:
elasticserach:
scale: 1
start_on_create: true
kibana:
scale: 1
start_on_create: true
logstash:
scale: 1
start_on_create: true
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 80 80" style="enable-background:new 0 0 80 80;" xml:space="preserve">
<style type="text/css">
.st0{clip-path:url(#SVGID_2_);fill:#F0BF1A;}
.st1{clip-path:url(#SVGID_4_);fill:#3EBEB0;}
.st2{clip-path:url(#SVGID_6_);fill:#07A5DE;}
.st3{clip-path:url(#SVGID_8_);fill:#231F20;}
.st4{fill:#D7A229;}
.st5{fill:#019B8F;}
.st6{fill:none;}
</style>
<g>
<g>
<g>
<g>
<g>
<defs>
<circle id="SVGID_1_" cx="40" cy="40" r="32"/>
</defs>
<clipPath id="SVGID_2_">
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
</clipPath>
<path class="st0" d="M53.7,26H10c-1.1,0-2-0.9-2-2V10c0-1.1,0.9-2,2-2h57c1.1,0,2,0.9,2,2v0.7C68.9,19.1,62.1,26,53.7,26z"/>
</g>
</g>
<g>
<g>
<defs>
<circle id="SVGID_3_" cx="40" cy="40" r="32"/>
</defs>
<clipPath id="SVGID_4_">
<use xlink:href="#SVGID_3_" style="overflow:visible;"/>
</clipPath>
<path class="st1" d="M69.1,72H8.2l0,0V54l0,0h45.7c8.4,0,15.2,6.8,15.2,15.2V72L69.1,72z"/>
</g>
</g>
<g>
<g>
<defs>
<circle id="SVGID_5_" cx="40" cy="40" r="32"/>
</defs>
<clipPath id="SVGID_6_">
<use xlink:href="#SVGID_5_" style="overflow:visible;"/>
</clipPath>
<path class="st2" d="M50.1,49H4.8V31h45.3c5,0,9,4,9,9l0,0C59.1,45,55,49,50.1,49z"/>
</g>
</g>
<g>
<g>
<defs>
<circle id="SVGID_7_" cx="40" cy="40" r="32"/>
</defs>
<clipPath id="SVGID_8_">
<use xlink:href="#SVGID_7_" style="overflow:visible;"/>
</clipPath>
<path class="st3" d="M36,31H6.4v18H36c0.7-2.7,1.1-5.7,1.1-9S36.7,33.7,36,31z"/>
</g>
</g>
</g>
<path class="st4" d="M23.9,12.3c-5.4,3.2-9.9,8-12.7,13.7h23.6C32.4,20.5,28.6,15.9,23.9,12.3z"/>
<path class="st5" d="M24.9,68.2c4.6-3.7,8.3-8.6,10.6-14.2H11.2C14.2,60,19,65,24.9,68.2z"/>
</g>
</g>
<rect class="st6" width="80" height="80"/>
</svg>
name: 微三云日志中心
description: |
日志中心
version: 7.0.1
category: CMS
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论