From 665a750e35bcc09bebcaf7b0542a22047eacfe6b Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sun, 15 Dec 2024 18:19:49 +0100 Subject: [PATCH] chore: fix vhost and username for ofborg Username and vhost creation are out of band and manual. $ cd /var/lib/rabbitmq $ sudo -u rabbitmq rabbitmqctl create_user ofborg $pwd $ sudo -u rabbitmq rabbitmqctl set_permissions ofborg '.*' '.*' '.*' Here's a simple way to reproduce that setup on the RabbitMQ server. Doing better will require the Vault server which will come soon anyway. Signed-off-by: Raito Bezarius --- services/ofborg/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/ofborg/default.nix b/services/ofborg/default.nix index 0012168..72e7e9d 100644 --- a/services/ofborg/default.nix +++ b/services/ofborg/default.nix @@ -48,8 +48,8 @@ in { rabbitmq = { ssl = true; host = "amqp.forkos.org"; - virtualhost = "amqp.forkos.org"; - username = "worker"; + virtualhost = "/"; + username = "ofborg"; password_file = "$CREDENTIALS_DIRECTORY/rabbitmq-password"; }; feedback.full_logs = lib.mkDefault true;