Open pcontezini opened 4 years ago
It works having a file mapped, the file location is /var/app/file/matrix.room.web.json
I found that mapping to that location is way better than handling a large inline json with multi escape levels.
Beware that in this case you can't provide the ROOMS_SOURCE
environment!
Using mapped files is easier to handle as well for Kubernetes ;)
@Verhaeg could you open a PR with an installation tutorial for Kubernetes?
Sure! Will check the README schema and see how to better provide that information!
@Verhaeg I just created a PR with an option to have an external file to configure the ROOMS_DATA
in this case is possible to store in s3 or GCS
Hi there.
We are using Matrix massively and managing the rooms on the single line environment variable sucks.
I've built a little workaround to get the json from a multi line file and convert it to a single line file using underscore.
I've read in the source code that you do support loading it from a file but was not sure it was working because it was not included in the manual.
Here you can find the script, hope it helps: https://github.com/pcontezini/matrix-room-generator