generated from MITLibraries/python-cli-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
31 lines (30 loc) · 903 Bytes
/
compose.yaml
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
services:
opensearch:
image: opensearchproject/opensearch:latest
ports:
- "9200:9200"
- "9600:9600"
environment:
- plugins.security.disabled=true
- discovery.type=single-node
- bootstrap.memory_lock=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD}
volumes:
- opensearch-local-data:/usr/share/opensearch/data
networks:
- opensearch-local-net
dashboard:
image: opensearchproject/opensearch-dashboards:latest
ports:
- "5601:5601"
environment:
- "DISABLE_SECURITY_DASHBOARDS_PLUGIN=true"
- 'OPENSEARCH_HOSTS=["http://opensearch:9200"]'
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=${OPENSEARCH_INITIAL_ADMIN_PASSWORD}
networks:
- opensearch-local-net
volumes:
opensearch-local-data:
networks:
opensearch-local-net: