Dear all, I am newbie in docker/elasticsearch, just took over the project of my colleague,
but elasticsearch is not loading on a linux machine under the address http://172.23.65.11:9215/
I am starting docker with init.sh. The es_stack.yml you can see below as well.
Do you have an idea, where is the problem ?
If other logs are needed please tell me where can I find them.
Thank you very much
File init.sh
#!/bin/bash
#IFS=""
export APPNAME="company"
export KIBANA_PORT="5615"
export ES_PORT="9215"
export WEBSITE_PORT="8015"
export FILENAME="es_stack.yml"
export VERSION="6.3.2"
export IP="172.23.65.11"
docker-compose --verbose -f $FILENAME up -d
File es_stack.yml:
version: '3.6'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${VERSION}
volumes:
- elasticsearch:/usr/share/elasticsearch/data
ports:
- ${ES_PORT}:9215
networks:
- network
kibana:
image: docker.elastic.co/kibana/kibana:${VERSION}
volumes:
- kibana:/usr/share/kibana/data
ports:
- ${KIBANA_PORT}:5615
networks:
- network
volumes:
elasticsearch:
driver: local
kibana:
driver: local
networks:
network:
attachable: true
driver: bridge
Running init.sh: