2020-11-27 21:08:22 +01:00
parent 41bcc2dcf4
commit 6f96271a44

@@ -32,3 +32,17 @@ 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.
### Livebeat
Livebeat uses a `.env` file as configuration so you have to create this file in the **root folder** of the backend.
For example `/srv/livebeat/backend/.env`:
```
DEBUG=false
MONGO_URI=mongodb+srv://...
RABBITMQ_URI=amqp://backend:RANDOM_PASSWORD@localhost
JWT_SECRET=Um5KwYv88JX9DEi5E^m@KW3u9^9j*AnDsr98ZRXJCAamPui@
```
**Note:** Please replace `JWT_SECRET` and `RANDOM_PASSWORD` with an other secret phrase. It is also recommended to set the read rights as low as possible. Only the Livebeat user/group should have read-only access to this file.
`MONGO_URI` requires a path to any working MongoDB server instance. If you don't want to setup you own server fell free to use MongoDB Atlas free sandbox cluster.