Office : Use container Rabbitmq.

This commit is contained in:
Dmitry Voronin 2024-06-20 17:24:03 +03:00
parent 12ddfaaa56
commit 46b11cf4c2
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 6 additions and 0 deletions

View file

@ -31,6 +31,8 @@ in {
jwtSecretFile = "/var/lib/onlyoffice/jwt";
rabbitmqUrl = "amqp://guest:guest@${container.config.rabbitmq.address}:${toString container.config.rabbitmq.port}";
examplePort = cfg.port;
enableExampleServer = true;
};

View file

@ -19,6 +19,9 @@ in {
listenAddress = cfg.address;
port = cfg.port;
dataDir = "/var/lib/rabbitmq";
configItems = {
"loopback_users" = "none";
};
};
};
};

View file

@ -11,6 +11,7 @@ in {
# allow ${container.localAccess};
# allow ${container.config.vpn.address};
# deny all;
add_header X-Forwarded-Proto https;
proxy_pass http://''$${name}$request_uri;
}