This commit is contained in:
2022-04-18 11:21:20 +08:00
commit 45a7af638f
210 changed files with 8997 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
# 部署 kibana
- 根据实际环境修改
- docker-compose.yml
- 创建目录
```
grep '\<source:' docker-compose.yml | cut -d: -f2 | xargs mkdir -p
```
- 启动
```
docker-compose up -d
```
- 浏览器访问 http://127.0.0.1:5601

View File

@@ -0,0 +1,33 @@
version: "3.7"
services:
kibana:
image: harbor.colben.cn/general/kibana:7
container_name: kibana
restart: "on-failure"
stop_grace_period: 1m
environment:
_CONF_server.port: 5601
_CONF_server.host: 127.0.0.1
_CONF_server.name: kibana
_CONF_elasticsearch.hosts: '["http://127.0.1.1:9200","http://127.0.1.2:9200","http://127.0.1.3:9200"]'
_CONF_elasticsearch.username: kibana_system
_CONF_elasticsearch.password: Pass_1234
network_mode: host
volumes:
- type: bind
source: ./kibana/config
target: /opt/kibana/config
- type: bind
source: ./kibana/data
target: /opt/kibana/data
- type: bind
source: ./kibana/logs
target: /opt/kibana/logs
- type: bind
source: ./kibana/plugins
target: /opt/kibana/plugins
- type: bind
source: ./kibana/offline-plugins
target: /opt/kibana/offline-plugins