-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a remote room file option #299
Conversation
README.md
Outdated
@@ -109,6 +109,10 @@ The **#matrix** project has some environment variables that important to define. | |||
} | |||
] | |||
|
|||
Other option is to have a remote rooms config file. You can to configure a `ROOMS_SOURCE=REMOTE` and config `ROOMS_DATA` like the example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Little typo here:
Another option is to have a remote rooms config file. You can configure
ROOMS_SOURCE=REMOTE
and configROOMS_DATA
like the example:
Maybe also add a note that the file must be publicly accessible in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
I tested and works nice!
A suggestion, we can verify in the app.healthcheck.js
if the rooms are loaded correctly
I can do that in another PR if you prefer.
Co-Authored-By: Rogerio Angeliski <[email protected]>
Good Idea @angeliski I don't have an idea how to do it :) I'll merge this PR and you can open another with this check 🚀 |
Description
We have some issues talking about difficult to manage the environment variable
ROOMS_DATA
Error when using custom ROOMs (docker compose env)
Matrix not reading ROOMS_DATA from env file
ROOMS single line environment variable is tuff to use when you have too many rooms
This PR I put a new option to read a remote
.json
file.How to test?
Setup Environment variable
ROOMS_SOURCE=REMOTE
and theROOMS_DATA
with a link to thejson
room's source file.Expected behavior
#matrix needs to make an office with the virtual rooms configured in the remote
.json
file.