90DaysOfDevOps/Days/Monitoring/Elastic Stack/extensions/enterprise-search/enterprise-search-compose.yml
2022-03-28 08:11:09 +01:00

21 lines
538 B
YAML

version: '3.7'
services:
enterprise-search:
build:
context: extensions/enterprise-search/
args:
ELASTIC_VERSION: ${ELASTIC_VERSION}
volumes:
- ./extensions/enterprise-search/config/enterprise-search.yml:/usr/share/enterprise-search/config/enterprise-search.yml:ro,Z
environment:
JAVA_OPTS: -Xmx2g -Xms2g
ENT_SEARCH_DEFAULT_PASSWORD: 'changeme'
ELASTIC_PASSWORD: ${ELASTIC_PASSWORD:-}
ports:
- '3002:3002'
networks:
- elk
depends_on:
- elasticsearch