Hello there,
I create a docker swarm with 2 stacks (1 with elasticsearch and 1 with kibana), once I deploy them and try to enter on kibana web (URL:5601) it says that the
login is current disabled. Administrators should consult the Kibana logs for more details.
my kibana.yml and docker-compose.yml look like this:
version: '3'
services:
elasticsearch:
image: 'docker.elastic.co/elasticsearch/elasticsearch:6.1.4'
container_name: elastic-docker
environment:
- discovery.zen.ping.unicast.hosts=192.168.99.101:9300,192.168.99.102:9300
- discovery.zen.minimum_master_nodes=1
- cluster.name=elastic-cluster
- bootstrap.memory_lock=true
- ES_JAVA_OPTS=-Xms512m -Xmx512m
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
- 9300:9300
deploy:
mode: replicated
replicas: 3
ports:
- 9200:9200
- 9300:9300
kibana:
image: docker.elastic.co/kibana/kibana:6.1.4
container_name: kibana-docker
volumes:
- ./kibana.yml:/user/share/kibana/config/kibana.yml
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 5601:5601
deploy:
mode: replicated
replicas: 3
server.name: kibana
server.host: "0"
elasticsearch.url: http://elasticsearch:9200
elasticsearch.username: admin
elasticsearch.password: Kibana
xpack.monitoring.ui.container.elasticsearch.enabled: true
Don't know why, but when I try to docker-compose up with this same file, the error doesn't apear...
Thank you.