我正在尝试连接amazon/opendistro-for-elasticsearch:0.9.0
下面docker.elastic.co/kibana/kibana:7.0.1
是我的 docker compose。我是弹性堆栈的新手,
version: '3'
services:
application:
image: amazon/opendistro-for-elasticsearch:0.9.0
environment:
- CLUSTER_NAME=cluster
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- opendistro_security.ssl.http.enabled=false
volumes:
- data:/usr/share/elasticsearch/data
restart: always
ulimits:
soft: -1
hard: -1
ports:
- 9200:9200
networks:
- odfe-net
kibana:
image: docker.elastic.co/kibana/kibana:7.0.1
ports:
- 5601:5601
expose:
- "5601"
environment:
ELASTICSEARCH_URL: http://application:9200
networks:
- odfe-net
volumes:
data:
networks:
odfe-net:
当我运行 docker 文件时,我看到以下错误:
{"type":"log","@timestamp":"2019-05-14T14:23:21Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: https://application:9200/"}
有没有人尝试过这种设置?