We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b20251 commit 7508e3cCopy full SHA for 7508e3c
app/Services/OpenSearch.php
@@ -25,11 +25,17 @@ class OpenSearch extends BaseService
25
'prompt' => 'Disable security plugin (true or false)?',
26
'default' => 'true',
27
],
28
+ [
29
+ 'shortname' => 'password',
30
+ 'prompt' => 'What is the initial admin password?',
31
+ 'default' => 'admin',
32
+ ],
33
];
34
35
protected $dockerRunTemplate = '-p "${:port}":9200 \
36
-p "${:analyzer_port}":9600 \
37
-e DISABLE_SECURITY_PLUGIN="${:disable_security}" \
38
+ -e OPENSEARCH_INITIAL_ADMIN_PASSWORD="${:password}" \
39
-e "discovery.type=single-node" \
40
-v "${:volume}":/usr/share/opensearch/data \
41
"${:organization}"/"${:image_name}":"${:tag}"';
0 commit comments