laravel - 在 Bitbucket 管道中使用 Elasticsearch 服务
问题描述
我在我的 bitbucket 管道中添加了 elasticsearch 服务。
请在下面找到代码。
elasticsearch:
image: xiting/elasticsearch-bitbucket-pipeline
variables:
ES_JAVA_OPTS: '-Xms512m -Xmx512m'
但是在运行测试时出现以下错误。
Elasticsearch\Common\Exceptions\RuntimeException: Could not parse host:
谁能指导我们如何在 bitbucket 管道中添加弹性搜索作为服务?
解决方案
推荐阅读
- powershell - 如何使用 azcopy 将文件夹永久同步到 Azure Blobstore?
- reactjs - 为 window.onstorage 移除事件监听器?
- php - 如何在laravel中三个模型的pivot中部署关系?
- android - 未解决的参考导入 kotlinx.android 和 androidx.preference?
- php - Laravel 通知和邮件组件报错
- javascript - 如何将样式属性作为路由存储在变量中?
- composer-php - Laravel 8 中损坏的 composer.json 文件
- python - 如何在pygame中获取文本宽度?
- ruby-on-rails - 重启脚本以启动 Rails 服务器
- javascript - Axios.post TypeError:无法读取未定义的属性“0”