forked from MarquezProject/marquez
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.search.yml
38 lines (36 loc) · 1000 Bytes
/
docker-compose.search.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: "3.7"
services:
api:
depends_on:
- db
- opensearch
entrypoint: ["/opt/marquez/wait-for-it.sh", "db:${POSTGRES_PORT}", "--", "/opt/marquez/wait-for-it.sh", "opensearch:${SEARCH_PORT}", "--", "./entrypoint.sh"]
opensearch:
image: opensearchproject/opensearch:2.5.0
container_name: marquez-search
hostname: opensearch
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
environment:
- cluster.name=opensearch-cluster
- node.name=opensearch
- discovery.seed_hosts=opensearch
- cluster.initial_cluster_manager_nodes=opensearch
- bootstrap.memory_lock=true
- plugins.security.ssl.http.enabled=false
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- OPENSEARCH_PASSWORD=admin
volumes:
- opensearch-data:/usr/share/opensearch/data
cap_add:
- IPC_LOCK
ports:
- "9200:9200"
- "9300:9300"
volumes:
opensearch-data: