Skip to content

Commit 427db73

Browse files
viv-4caspiano
authored andcommitted
feat(docker-compose): add opendistro for elasticsearch
1 parent 82742e7 commit 427db73

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ PLACE_METRICS_ROUTE=monitor
3939
ELASTIC_HOST=elastic
4040
ELASTIC_PORT=9200
4141
ELASTIC_VERSION=7.10.2
42+
ELASTIC_OD_VERSION=1.13.2
4243

4344
ETCD_HOST=etcd
4445
ETCD_PORT=2379
@@ -71,6 +72,7 @@ POSTGRES_PASSWORD=development
7172
# Logging variables
7273

7374
ENABLE_KIBANA=false
75+
7476
LOGSTASH_HOST=logstash
7577
LOGSTASH_PORT=12201
7678
KIBANA_PORT=443

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.7"
1+
version: "3.9"
22

33
networks:
44
placeos:
@@ -332,7 +332,7 @@ services:
332332
# Resources
333333

334334
elastic:
335-
image: blacktop/elasticsearch:${ELASTIC_VERSION:-7.10.2}
335+
image: amazon/opendistro-for-elasticsearch:${ELASTIC_OD_VERSION:-1.13.2}
336336
restart: always
337337
container_name: elastic
338338
hostname: elastic
@@ -536,7 +536,7 @@ services:
536536
command: gelf://${LOGSTASH_HOST}:${LOGSTASH_PORT}
537537

538538
kibana:
539-
image: blacktop/kibana:${ELASTIC_VERSION:-7.10.2}
539+
image: amazon/opendistro-for-elasticsearch-kibana:${ELASTIC_OD_VERSION:-1.13.2}
540540
profiles:
541541
- kibana
542542
restart: always

0 commit comments

Comments
 (0)