This commit is contained in:
ai-dev
2025-09-21 23:38:26 +02:00
parent 4c55afbc92
commit e8098221d8
10 changed files with 119 additions and 134 deletions

View File

@@ -1,76 +1,46 @@
{
"name": "OpenSearch os-master",
"name": "OpenSearch Cluster Node",
"version": "1.0.0",
"slug": "opensearch-master",
"description": "OpenSearch server (es-compatible) for logs and metrics. Configurable JVM heap, node roles, cluster discovery and volumes.",
"slug": "opensearch-node",
"description": "OpenSearch cluster node with configurable roles",
"arch": ["amd64", "armv7", "aarch64"],
"startup": "services",
"boot": "auto",
"host_network": true,
"host_pid": false,
"init": false,
"map": [
[
"config",
"./config",
"rw"
],
[
"data",
"/var/lib/opensearch",
"rw"
]
["config", "/usr/share/opensearch/config", "rw"],
["data", "/usr/share/opensearch/data", "rw"],
["logs", "/usr/share/opensearch/logs", "rw"]
],
"options": {
"node_role": ["master"],
"cluster_name": "hass-opensearch-cluster",
"node_name": "os-master",
"node_roles": [
"master"
],
"discovery_type": "single-node",
"discovery_seed_hosts": ["os-master", "os-data-1", "os-data-2"],
"initial_master_nodes": ["os-master"],
"opensearch_heap": "1.5g",
"plugins": [],
"bootstrap_memory_lock": false,
"heap_size": "2g",
"http_port": 9200,
"transport_port": 9300,
"network_host": "0.0.0.0",
"path_data": "/var/lib/opensearch",
"path_logs": "/var/log/opensearch",
"discovery_seed_hosts": ["os-master:9300"],
"initial_master_nodes": ["os-master"],
"security_enabled": true,
"admin_password": "MyOpenSearch25!!"
"admin_password": "SecurePass123!",
"plugins": []
},
"schema": {
"node_role": ["str"],
"cluster_name": "str",
"node_name": "str",
"node_roles": [
"str"
],
"discovery_type": "str",
"discovery_seed_hosts": [
"str"
],
"initial_master_nodes": [
"str"
],
"opensearch_heap": "str",
"plugins": [
"str"
],
"bootstrap_memory_lock": "bool",
"heap_size": "str",
"http_port": "int",
"transport_port": "int",
"network_host": "str",
"path_data": "str",
"path_logs": "str",
"discovery_seed_hosts": ["str"],
"initial_master_nodes": ["str"],
"security_enabled": "bool",
"admin_password": "password"
"admin_password": "password",
"plugins": ["str"]
},
"ports": {
"9200/tcp": 9200,
"9300/tcp": 9300
},
"environment": {
"OPENSEARCH_INITIAL_ADMIN_PASSWORD": "MyOpenSearch25!!"
}
}