mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
armbian-next: json-info: cleanup info/json/csv/opensearch, add logging, add some very basic instructions; add Kibana dashboards & docker-compose to bring it OS+Kibana up
This commit is contained in:
17
tools/dashboards/armbian-general-dashboards.ndjson
Normal file
17
tools/dashboards/armbian-general-dashboards.ndjson
Normal file
File diff suppressed because one or more lines are too long
43
tools/dashboards/docker-compose-opensearch.yaml
Normal file
43
tools/dashboards/docker-compose-opensearch.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
version: '3'
|
||||
services:
|
||||
opensearch-node1:
|
||||
image: ghcr.io/rpardini/opensearch-minimal-multiarch:1.3
|
||||
container_name: opensearch-node1
|
||||
environment:
|
||||
- cluster.name=opensearch-cluster
|
||||
- node.name=opensearch-node1
|
||||
- discovery.seed_hosts=opensearch-node1
|
||||
- cluster.initial_master_nodes=opensearch-node1
|
||||
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
|
||||
- "OPENSEARCH_JAVA_OPTS=-Xms2048m -Xmx2048m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
|
||||
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
|
||||
volumes:
|
||||
- opensearch-data1:/usr/share/opensearch/data
|
||||
ports:
|
||||
- 9200:9200
|
||||
- 9300:9300
|
||||
networks:
|
||||
- opensearch-net
|
||||
opensearch-dashboards:
|
||||
image: ghcr.io/rpardini/opensearch-dashboards-minimal-multiarch:1.3
|
||||
container_name: opensearch-dashboards
|
||||
ports:
|
||||
- 5601:5601
|
||||
expose:
|
||||
- "5601"
|
||||
environment:
|
||||
OPENSEARCH_HOSTS: '["http://opensearch-node1:9200"]'
|
||||
networks:
|
||||
- opensearch-net
|
||||
|
||||
volumes:
|
||||
opensearch-data1:
|
||||
|
||||
networks:
|
||||
opensearch-net:
|
||||
Reference in New Issue
Block a user