Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elastic up fail #2283

Closed
mohammadkshn opened this issue Sep 15, 2019 · 2 comments
Closed

elastic up fail #2283

mohammadkshn opened this issue Sep 15, 2019 · 2 comments

Comments

@mohammadkshn
Copy link

Info:

  • Docker version Docker version 19.03.2, build 6a30dfc:
  • System info linux-ubuntu:
  • System info 18.4:

Issue:

use elasticsearch 6.8.3
after docker-compose up -d elasticsearch
elasticsearch exited with code 1 after 20 second

Relevant Code:

// place a code sample here
elasticsearch:
build: ./elasticsearch
volumes:
- elasticsearch:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
- cluster.name=laradock-cluster
- node.name=laradock-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
- cluster.initial_master_nodes=laradock-node
ulimits:
memlock:
soft: -1
hard: -1
ports:
- "${ELASTICSEARCH_HOST_HTTP_PORT}:9200"
- "${ELASTICSEARCH_HOST_TRANSPORT_PORT}:9300"
depends_on:
- php-fpm
networks:
- frontend
- backend

@dziurka
Copy link

dziurka commented Sep 25, 2019

I have the same problem. Unfortunately.

EDIT:
Deleting the environment variable "cluster.initial_master_nodes" solved the problem in my case.

@mohammadkshn
Copy link
Author

I have the same problem. Unfortunately.

EDIT:
Deleting the environment variable "cluster.initial_master_nodes" solved the problem in my case.

tnx work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants