forked from opensearch-project/terraform-provider-opensearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (33 loc) · 829 Bytes
/
docker-compose.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
version: '3'
services:
opensearch:
image: ${OSS_IMAGE}
hostname: opensearch
container_name: opensearch
networks:
- opensearch # used by OpenSearch Dashboard
environment:
- cluster.name=opensearch
- bootstrap.memory_lock=true
- discovery.type=single-node
- path.repo=/tmp
- network.publish_host=127.0.0.1
- logger.org.opensearch=warn
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
- "OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123@456"
- "plugins.security.ssl.http.enabled=false"
- ${OSS_ENV_VAR:-FOO=bar}
command: ${OS_COMMAND}
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
networks:
opensearch:
driver: bridge