Skip to content

Commit

Permalink
Update configuration.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Aug 23, 2023
1 parent e352402 commit 1e3d1f8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/source/reference/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,11 @@ Pub/Sub configuration provides connectivity information for the Pub/Sub broker.

Note that the ``WIS2BOX_BROKER_PUBLIC`` URL can be used to publish WIS2 notifications to an external broker. By default, the internal broker is used.

Apart from the wis2box-internal-user defined by the ``WIS2BOX_BROKER_USERNAME`` and ``WIS2BOX_BROKER_PASSWORD`` environment variables, the wis2box-broker will also include the user 'everyone' with password 'everyone'.
The 'everyone'-user has read-only access to the origin/# topic and can be used to allow the WIS2 Global Broker to subscribe to the wis2box.
Apart from the wis2box internal user defined by the ``WIS2BOX_BROKER_USERNAME`` and ``WIS2BOX_BROKER_PASSWORD`` environment variables, the wis2box broker will also include the user ``everyone`` with password ``everyone``.

To add additional users to the wis2box-broker, login to the mosquitto container with the following command:
The ``everyone`` user has **read-only** access to the ``origin/#`` topic and can be used to allow the WIS2 Global Broker to subscribe to the wis2box.

To add additional users to the wis2box broker, login to the mosquitto container with the following command:

.. code-block:: bash
Expand All @@ -149,7 +150,7 @@ Then, to add a new user, use the following command:
mosquitto_passwd -b /mosquitto/config/password.txt <username> <password>
To add or change access rights for mosquitto users, you can edit the file /mosquitto/config/acl.conf from inside the mosquitto container using 'vi':
To add or change access rights for mosquitto users, you can edit the file ``/mosquitto/config/acl.conf`` from inside the mosquitto container using the ``vi`` command:

.. code-block:: bash
Expand Down

0 comments on commit 1e3d1f8

Please sign in to comment.