Closed Anderssorby closed 4 years ago
However this works fine:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.5.1
container_name: elasticsearch
hostname: elasticsearch
environment:
- discovery.type=single-node
env_file:
- ./.env
ulimits:
memlock:
soft: -1
hard: -1
ports:
- "9200:9200"
- "9300:9300"
networks:
- flex
kibana:
image: docker.elastic.co/kibana/kibana:7.5.1
container_name: kibana
hostname: kibana
ports:
- "5601:5601"
networks:
- flex
depends_on:
- elasticsearch
How is your networks defined
version: "3.7"
services:
elasticsearch:
image: blacktop/elasticsearch:7.5.1
container_name: elasticsearch
hostname: elasticsearch
environment:
- discovery.type=single-node
ulimits:
memlock:
soft: -1
hard: -1
ports:
- "9200:9200"
- "9300:9300"
networks:
- default
kibana:
image: blacktop/kibana:7.5.1
container_name: kibana
hostname: kibana
ports:
- "5601:5601"
networks:
- default
networks:
default:
this works for me just fine. I can't recreate your issue
I got it working with your config. I might have forgotten to rebuild the images or something.
It seems there is a problem with running this image with the corresponding elasticsearch image with x-pack activated.
Using this docker-compose.yml does not work
Gives this error
and