【elastic-start-local 本地docker 30天后需要重新试用处理】

首次安装时,将start-local\elastic-start-local\docker-compose.yml 文件中的 xpack.license.self_generated.type=trial 调整为xpack.license.self_generated.type=basic

复制代码
environment:
      - discovery.type=single-node
      - ELASTIC_PASSWORD=${ES_LOCAL_PASSWORD}
      - xpack.security.enabled=true
      - xpack.security.http.ssl.enabled=false
      - xpack.license.self_generated.type=basic  # 修改 trial
      - xpack.ml.use_auto_machine_memory_percent=true
      - ES_JAVA_OPTS=-Xms${ES_LOCAL_HEAP_INIT} -Xmx${ES_LOCAL_HEAP_MAX}
      - cluster.routing.allocation.disk.watermark.low=${ES_LOCAL_DISK_SPACE_REQUIRED}
      - cluster.routing.allocation.disk.watermark.high=${ES_LOCAL_DISK_SPACE_REQUIRED}
      - cluster.routing.allocation.disk.watermark.flood_stage=${ES_LOCAL_DISK_SPACE_REQUIRED}

也可以在 运行start-local.sh文件运行产生docker-compose.yml 前,在start-local.sh文件里找到该配置项,修改为:xpack.license.self_generated.type=basic,然后在运行start-local.sh脚本,这样生成的docker-compose.yml就是预期效果

相关推荐
大厂技术总监下海5 小时前
根治LLM胡说八道!用 Elasticsearch 构建 RAG,给你一个“有据可查”的AI
大数据·elasticsearch·开源
f***28148 小时前
Springboot中使用Elasticsearch(部署+使用+讲解 最完整)
spring boot·elasticsearch·jenkins
Elasticsearch13 小时前
使用 Elastic Agent 混合摄取加速 Otel 采用
elasticsearch
W***r2614 小时前
SpringBoot整合easy-es
spring boot·后端·elasticsearch
それども14 小时前
ES KQL 支持词频统计吗
elasticsearch
zhyf11914 小时前
Max395(ubuntu24.04)AMD显卡GLM-4.7-UD-IQ1-M量化模型部署手册
大数据·elasticsearch·搜索引擎
学好statistics和DS16 小时前
Git 同步冲突
大数据·git·elasticsearch
chen<>1 天前
Git原理与应用
大数据·git·elasticsearch·svn
liuyunshengsir2 天前
Elasticsearch 高级查询must 多个条件同时满足
linux·服务器·elasticsearch