From 6f96271a4408728e1079e3441dffaaa7b8a35dcc Mon Sep 17 00:00:00 2001 From: Nicolas Klier Date: Fri, 27 Nov 2020 21:08:22 +0100 Subject: [PATCH] --- Installation.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Installation.md b/Installation.md index d3ffa40..6ac11cf 100644 --- a/Installation.md +++ b/Installation.md @@ -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. +### 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. \ No newline at end of file