提交 3586f4e3 作者: 施泽锋

simplify configure file

上级 ae60340b
...@@ -19,6 +19,7 @@ services: ...@@ -19,6 +19,7 @@ services:
hard: -1 hard: -1
volumes: volumes:
- els-data:/opt/path/to/data - els-data:/opt/path/to/data
- els-logs:/opt/path/to/logs
tty: true tty: true
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
...@@ -37,9 +38,6 @@ services: ...@@ -37,9 +38,6 @@ services:
environment: environment:
- LOG_XMS=${log_xms} - LOG_XMS=${log_xms}
- LOG_XMX=${log_xmx} - LOG_XMX=${log_xmx}
- LOGSTASH_INPUT=${logstash_input}
- LOGSTASH_OUTPUT=${logstash_output}
- LOGSTASH_FILTERS=${logstash_filters}
- REDIS_PASSWORD=${redis_pwd} - REDIS_PASSWORD=${redis_pwd}
- DEBUG=${debug} - DEBUG=${debug}
stdin_open: true stdin_open: true
...@@ -79,4 +77,6 @@ services: ...@@ -79,4 +77,6 @@ services:
io.rancher.scheduler.affinity:host_label: ${elk_label} io.rancher.scheduler.affinity:host_label: ${elk_label}
volumes: volumes:
els-data: els-data:
driver: ${volumns_dirver}
els-logs:
driver: ${volumns_dirver} driver: ${volumns_dirver}
\ No newline at end of file
...@@ -90,26 +90,6 @@ catalog: ...@@ -90,26 +90,6 @@ catalog:
required: true required: true
default: "512m" default: "512m"
type: "string" type: "string"
- 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 - variable: debug
description: "Logstash debug" description: "Logstash debug"
label: "DEBUG" label: "DEBUG"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论