forked from opensearch-project/terraform-provider-opensearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (55 loc) · 1.34 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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"
- ${OSS_ENV_VAR:-FOO=bar}
command: ${OS_COMMAND}
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
opendistro:
image: ${OS_OPENDISTRO_IMAGE:-rwgrim/docker-noop}
hostname: opensearch-opendistro
container_name: opensearch-opendistro
environment:
- cluster.name=opendistro
- bootstrap.memory_lock=true
- discovery.type=single-node
- path.repo=/tmp
- ${OPENSEARCH_PREFIX:-opendistro_security}.ssl.http.enabled=false
- http.port=9220
- network.publish_host=127.0.0.1
- logger.org.opensearch=warn
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
ulimits:
nproc: 65536
nofile:
soft: 65536
hard: 65536
memlock:
soft: -1
hard: -1
ports:
- 9220:9220
networks:
opensearch:
driver: bridge