forked from certego/BuffaLogs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.opensearch.yaml
More file actions
46 lines (43 loc) · 1.28 KB
/
docker-compose.opensearch.yaml
File metadata and controls
46 lines (43 loc) · 1.28 KB
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
services:
opensearch:
container_name: buffalogs_opensearch
image: opensearchproject/opensearch:latest
hostname: opensearch
environment:
- node.name=buffalogs_opensearch
- bootstrap.memory_lock=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
- cluster.name=opensearch-cluster
- DISABLE_SECURITY_PLUGIN=true
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
ports:
- "9200:9200"
- "9600:9600"
volumes:
- opensearch_data:/usr/share/opensearch/data
networks:
- opensearch-net
opensearch-dashboards:
container_name: buffalogs_opensearch-dashboards
image: opensearchproject/opensearch-dashboards:latest
hostname: opensearch-dashboards
environment:
OPENSEARCH_HOSTS: http://opensearch:9200
DISABLE_SECURITY_DASHBOARDS_PLUGIN: true
ports:
- "127.0.0.1:5601:5601"
networks:
- opensearch-net
volumes:
opensearch_data:
driver: local
networks:
opensearch-net:
driver: bridge