提交 1e0a42f9 作者: 施泽锋

11

上级 5b05b763
...@@ -4,10 +4,10 @@ services: ...@@ -4,10 +4,10 @@ services:
privileged: true privileged: true
image: registry.cn-hangzhou.aliyuncs.com/acs/log-pilot:0.9.5-filebeat image: registry.cn-hangzhou.aliyuncs.com/acs/log-pilot:0.9.5-filebeat
environment: environment:
PILOT_TYPE=${pilot_type} PILOT_TYPE: {pilot_type}
LOGGING_OUTPUT=${logging_output} LOGGING_OUTPUT: ${logging_output}
LOGSTASH_HOST=${logstash_host} LOGSTASH_HOST: ${logstash_host}
LOGSTASH_PORT=${logstash_port} LOGSTASH_PORT: ${logstash_port}
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /etc/localtime:/etc/localtime - /etc/localtime:/etc/localtime
...@@ -16,4 +16,4 @@ services: ...@@ -16,4 +16,4 @@ services:
tty: true tty: true
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: ${host_label} io.rancher.scheduler.affinity:host_label: log-poilt=true
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论