Office : Use container Rabbitmq.
This commit is contained in:
parent
12ddfaaa56
commit
46b11cf4c2
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -19,6 +19,9 @@ in {
|
|||
listenAddress = cfg.address;
|
||||
port = cfg.port;
|
||||
dataDir = "/var/lib/rabbitmq";
|
||||
configItems = {
|
||||
"loopback_users" = "none";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue