@@ -14,6 +14,7 @@ These programs are **required** in order to run Livebeat:
|
|||||||
Since we have everyting installed, we have to make our hands dirty before we can even touch Livebeat.
|
Since we have everyting installed, we have to make our hands dirty before we can even touch Livebeat.
|
||||||
|
|
||||||
### RabbitMQ
|
### RabbitMQ
|
||||||
|
#### Authentification backend
|
||||||
We need to change a few things for RabbitMQ. Since Livebeat handles all authentifications we have to tell RabbitMQ to use Livebeat as authentification backend.
|
We need to change a few things for RabbitMQ. Since Livebeat handles all authentifications we have to tell RabbitMQ to use Livebeat as authentification backend.
|
||||||
|
|
||||||
We need to enable the `rabbitmq_auth_backend_http` plugin:
|
We need to enable the `rabbitmq_auth_backend_http` plugin:
|
||||||
@@ -32,6 +33,15 @@ auth_http.topic_path = http://localhost:8040/user/topic
|
|||||||
```
|
```
|
||||||
This will basicly tell RabbitMQ to use this plugin as authentification method and then which paths and method to use.
|
This will basicly tell RabbitMQ to use this plugin as authentification method and then which paths and method to use.
|
||||||
|
|
||||||
|
#### MQTT
|
||||||
|
The frontend uses MQTT over WebSockets for real-time communication.
|
||||||
|
|
||||||
|
Enable `rabbitmq_web_mqtt` plugin:
|
||||||
|
```
|
||||||
|
rabbitmq-plugins enable rabbitmq_web_mqtt
|
||||||
|
```
|
||||||
|
For more information [read here](https://www.rabbitmq.com/web-mqtt.html) if you want to setup SSL for example.
|
||||||
|
|
||||||
### Livebeat
|
### Livebeat
|
||||||
Livebeat uses a `.env` file as configuration so you have to create this file in the **root folder** of the backend.
|
Livebeat uses a `.env` file as configuration so you have to create this file in the **root folder** of the backend.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user