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 <masterancpp@gmail.com>
This commit is contained in:
raito 2024-12-15 18:19:49 +01:00
parent ab998c8fb9
commit 665a750e35

View file

@ -48,8 +48,8 @@ in {
rabbitmq = { rabbitmq = {
ssl = true; ssl = true;
host = "amqp.forkos.org"; host = "amqp.forkos.org";
virtualhost = "amqp.forkos.org"; virtualhost = "/";
username = "worker"; username = "ofborg";
password_file = "$CREDENTIALS_DIRECTORY/rabbitmq-password"; password_file = "$CREDENTIALS_DIRECTORY/rabbitmq-password";
}; };
feedback.full_logs = lib.mkDefault true; feedback.full_logs = lib.mkDefault true;