90DaysOfDevOps/Days/Monitoring/Elastic Stack/extensions/enterprise-search/enterprise-search-compose.yml

21 lines
538 B
YAML
Raw Normal View History

2022-03-28 14:11:09 +07:00
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