Update software versions and fix security refs

This commit is contained in:
yeasy
2026-04-18 19:04:14 -07:00
parent 1bed644e5e
commit 077e55f494
4 changed files with 9 additions and 7 deletions
+4 -3
View File
@@ -17,12 +17,12 @@ ELK (ElasticsearchLogstashKibana) 是目前业界最流行的开源日志
#### 1. 编写 Compose 文件
1. 编写 `compose.yaml` ( `docker-compose.yml`) 配置如下示例基于 Elasticsearch 8.x当前最新大版本为 9.x请根据需要选择版本并查阅 [Elastic 官方文档](https://www.elastic.co/docs/) 确认配置兼容性):
1. 编写 `compose.yaml` ( `docker-compose.yml`) 配置如下示例基于 Elasticsearch 9.x查阅 [Elastic 官方文档](https://www.elastic.co/docs/) 确认最新版本与配置兼容性):
```yaml
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.17.0
image: docker.elastic.co/elasticsearch/elasticsearch:9.3.3
container_name: elasticsearch
environment:
- "discovery.type=single-node"
@@ -36,7 +36,7 @@ services:
- logging
kibana:
image: docker.elastic.co/kibana/kibana:8.17.0
image: docker.elastic.co/kibana/kibana:9.3.3
container_name: kibana
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
@@ -48,6 +48,7 @@ services:
- logging
fluentd:
# elasticsearch8 插件通过 REST API 与 ES 9.x 兼容
image: fluent/fluentd-kubernetes-daemonset:v1.17-debian-elasticsearch8-1
container_name: fluentd
environment: