Skip to content

Commit 788d06c

Browse files
committed
[es] Upgrade to 5.2.0
For #124
1 parent 1a88c96 commit 788d06c

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

elasticsearch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MAINTAINER itzg
44

55
RUN apk -U add bash
66

7-
ENV ES_VERSION=5.1.2
7+
ENV ES_VERSION=5.2.0
88

99
ADD https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$ES_VERSION.tar.gz /tmp/es.tgz
1010
RUN cd /usr/share && \

elasticsearch/docker-compose.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
version: '3'
2+
3+
services:
4+
master:
5+
image: es
6+
environment:
7+
TYPE: MASTER
8+
UNICAST_HOSTS: master
9+
MIN_MASTERS: 2
10+
deploy:
11+
replicas: 3
12+
update_config:
13+
parallelism: 1
14+
data:
15+
image: es
16+
environment:
17+
TYPE: DATA
18+
UNICAST_HOSTS: master
19+
deploy:
20+
replicas: 2
21+
update_config:
22+
parallelism: 1
23+
gateway:
24+
image: es
25+
ports:
26+
- "9200:9200"
27+
- "9300:9300"
28+
environment:
29+
TYPE: GATEWAY
30+
UNICAST_HOSTS: master
31+
kibana:
32+
image: kibana
33+
ports:
34+
- "5601:5601"
35+
environment:
36+
ELASTICSEARCH_URL: http://gateway:9200

0 commit comments

Comments
 (0)