diff --git a/templates/es-cluster/0/docker-compose.yml.tpl b/templates/es-cluster/0/docker-compose.yml.tpl index d07c69c..f9a9918 100644 --- a/templates/es-cluster/0/docker-compose.yml.tpl +++ b/templates/es-cluster/0/docker-compose.yml.tpl @@ -104,8 +104,12 @@ services: es-storage: labels: io.rancher.container.start_once: true - image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0 - entrypoint: /bin/true + network_mode: none + image: rawmind/alpine-volume:0.0.2-1 + environment: + - SERVICE_UID=1000 + - SERVICE_GID=1000 + - SERVICE_VOLUME=/usr/share/elasticsearch/data volumes: - es-storage-volume:/usr/share/elasticsearch/data @@ -113,6 +117,7 @@ services: es-sysctl: labels: io.rancher.container.start_once: true + network_mode: none image: rawmind/alpine-sysctl:0.1 privileged: true environment: