提交 5c00b74a 作者: 施泽锋

新增nginx访问验证

上级 a982e41c
...@@ -29,13 +29,6 @@ services: ...@@ -29,13 +29,6 @@ services:
- KI_ESPORT=${ki_esport} - KI_ESPORT=${ki_esport}
stdin_open: true stdin_open: true
tty: true tty: true
labels:
traefik.frontend.rule: Host:${host_url}
traefik.port: '5601'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.backend.loadbalancer.stickiness: 'true'
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
logstash: logstash:
image: harbor.playground.wsy010.cn/elk/logstash:7.0.1 image: harbor.playground.wsy010.cn/elk/logstash:7.0.1
environment: environment:
...@@ -47,7 +40,19 @@ services: ...@@ -47,7 +40,19 @@ services:
- DEBUG=${debug} - DEBUG=${debug}
stdin_open: true stdin_open: true
tty: true tty: true
kibana-nginx:
image: harbor.playground.wsy010.cn/elk/kibana-nginx:0.1
environment:
- NGINX_PWD=${nginx_pwd}
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
volumes: volumes:
els-data: els-data:
driver: ${volumns_dirver} driver: ${volumns_dirver}
\ No newline at end of file
...@@ -109,6 +109,12 @@ catalog: ...@@ -109,6 +109,12 @@ catalog:
required: true required: true
default: "true" default: "true"
type: "string" type: "string"
- variable: nginx_pwd
description: "kibana default passwd"
label: "auth"
required: false
default: ""
type: "string"
- variable: volume_driver - variable: volume_driver
description: "应用数据卷驱动程序" description: "应用数据卷驱动程序"
label: "卷驱动" label: "卷驱动"
...@@ -130,6 +136,9 @@ services: ...@@ -130,6 +136,9 @@ services:
logstash: logstash:
scale: 1 scale: 1
start_on_create: true start_on_create: true
kibana-nginx:
scale: 1
start_on_create: true
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论