【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就是预期效果

相关推荐
mister_guo10 小时前
Elasticsearch:原理、Docker 安装与常用命令
大数据·运维·elasticsearch
鱼宵13 小时前
LangChain4j 生产化改造:记忆落 Redis、向量落 ES,重启再也不丢
数据库·redis·elasticsearch·langchain4j
小巫山云子14 小时前
Git的用法
大数据·git·elasticsearch
Elasticsearch15 小时前
多租户集群中的 Kubernetes 吵闹邻居:使用 ES|QL 找出它
elasticsearch
Elasticsearch15 小时前
你的 AI 聊天不应只是一张截图:Elastic Agent Builder 中的实时共享对话
elasticsearch
承渊政道16 小时前
CentOS 7单机部署Elasticsearch 7.17.29:从启动报错、CRUD验证到固定公网地址的完整过程
linux·elasticsearch·centos·内网穿透·cpolar·单机部署
Elasticsearch1 天前
Kibana:通过分步教程学习构建仪表板和创建数据可视化图表
elasticsearch
高级程序源2 天前
django房屋租赁系统28636-计算机课程设计、毕业设计
python·mysql·elasticsearch·小程序·django·flask·课程设计
Wx-bishekaifayuan2 天前
springboot大学生就业平台47691-计算机课程设计、毕业设计
java·spring boot·后端·elasticsearch·课程设计·express·旅游
大圣编蚕2 天前
OpenGL ES 教程:从零开始掌握 3D 渲染
大数据·elasticsearch·3d