diff --git a/docker-compose.yml b/docker-compose.yml index 7b65a000..a278a0d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,6 +26,7 @@ services: elasticsearch: image: "elasticsearch:2.4.6" + restart: always volumes: - $PWD/elasticsearch/data:/usr/share/elasticsearch/data - $PWD/elasticsearch/config:/usr/share/elasticsearch/config @@ -70,4 +71,5 @@ services: - SPRING_DATA_ELASTICSEARCH_REPOSITORIES_ENABLED=true depends_on: - mysql - - redis \ No newline at end of file + - redis + - elasticsearch \ No newline at end of file