-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (49 loc) · 1.43 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
version: "3.9"
services:
kinesis2elastic:
build: .
ports:
- "8080:8080"
environment:
- PORT=8080
- OPENSEARCH_URL=http://opensearch:9200
- OUTPUT_INDEX=firehose
depends_on:
- opensearch
opensearch:
image: opensearchproject/opensearch:2.11.0
container_name: opensearch
environment:
discovery.type: "single-node"
node.name: opensearch
bootstrap.memory_lock: true # along with the memlock settings below, disables swapping
OPENSEARCH_JAVA_OPTS: "-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
DISABLE_SECURITY_PLUGIN: true
DISABLE_INSTALL_DEMO_CONFIG: true
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536 # maximum number of open files for the OpenSearch user, set to at least 65536 on modern systems
hard: 65536
ports:
- "9200:9200"
- "9600:9600"
volumes:
- opensearch-data:/usr/share/opensearch/data
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.11.0
container_name: opensearch-dashboards
environment:
DISABLE_SECURITY_PLUGIN: true
DISABLE_INSTALL_DEMO_CONFIG: true
DISABLE_SECURITY_DASHBOARDS_PLUGIN: true
OPENSEARCH_HOSTS: '["http://opensearch:9200"]'
ports:
- "5601:5601"
expose:
- "5601"
volumes:
opensearch-data:
driver: local