Skip to content

Commit 9fe4b0e

Browse files
committed
move items into group tabs in docker doc
1 parent 9cdc526 commit 9fe4b0e

File tree

2 files changed

+19
-15
lines changed

2 files changed

+19
-15
lines changed

source/deployment-options/docker/changing-default-password.rst

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -209,22 +209,24 @@ After updating ``docker-compose.yml`` file, restart the Wazuh Docker stack and r
209209
210210
#. Wait for the Wazuh indexer to initialize properly. The waiting time can vary from one to five minutes. It depends on the size of the cluster, the assigned resources, and the network speed. Then, run the ``securityadmin.sh`` script to apply all changes.
211211

212-
- Single-node stack
212+
.. tabs::
213+
214+
.. group-tab:: Single-node stack
213215

214-
.. code-block:: console
216+
.. code-block:: console
215217
216-
$ bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/securityadmin.sh -cd /usr/share/wazuh-indexer/opensearch-security/ -nhnv -cacert $CACERT -cert $CERT -key $KEY -p 9200 -icl
218+
$ bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/securityadmin.sh -cd /usr/share/wazuh-indexer/opensearch-security/ -nhnv -cacert $CACERT -cert $CERT -key $KEY -p 9200 -icl
217219
218-
- Multi-node stack
220+
.. group-tab:: Multi-node stack
219221

220-
.. code-block:: console
222+
.. code-block:: console
221223
222-
$ HOST=$(grep node.name $INSTALLATION_DIR/opensearch.yml | awk '{printf $2}')
223-
$ bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/securityadmin.sh -cd /usr/share/wazuh-indexer/opensearch-security/ -nhnv -cacert $CACERT -cert $CERT -key $KEY -p 9200 -icl -h $HOST
224+
$ HOST=$(grep node.name $INSTALLATION_DIR/opensearch.yml | awk '{printf $2}')
225+
$ bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/securityadmin.sh -cd /usr/share/wazuh-indexer/opensearch-security/ -nhnv -cacert $CACERT -cert $CERT -key $KEY -p 9200 -icl -h $HOST
224226
225-
.. note::
227+
.. note::
226228

227-
When working on Docker Desktop with a multi-node stack, use the ``multi-node-wazuh1.indexer-1`` IP address instead of the ``$HOST`` variable.
229+
When working on Docker Desktop with a multi-node stack, use the ``multi-node-wazuh1.indexer-1`` IP address instead of the ``$HOST`` variable.
228230

229231
#. Exit the Wazuh indexer container. Refresh the Wazuh dashboard and log in with the new credentials.
230232

source/deployment-options/docker/wazuh-container.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -212,17 +212,19 @@ Deployment
212212

213213
#. Start the Wazuh Docker deployment using the ``docker compose`` command:
214214

215-
- **Background**:
215+
.. tabs::
216216

217-
.. code-block:: console
217+
.. group-tab:: Background
218218

219-
# docker compose up -d
219+
.. code-block:: console
220220
221-
- **Foreground**:
221+
# docker compose up -d
222222
223-
.. code-block:: console
223+
.. group-tab:: Foreground
224224

225-
# docker compose up
225+
.. code-block:: console
226+
227+
# docker compose up
226228
227229
.. note::
228230

0 commit comments

Comments
 (0)