diff --git a/README.md b/README.md index 7e49f7e..d5bdab2 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ .env file for https://github.com/jitsi/docker-jitsi-meet -# instructions: +## instructions: as listed in: https://github.com/jitsi/docker-jitsi-meet#quick-start @@ -30,7 +30,26 @@ docker-compose exec prosody /bin/bash prosodyctl --config /config/prosody.cfg.lua register TheDesiredUsername meet.jitsi TheDesiredPassword ``` and test that you need to enter your credentials to -# notes: + +## notes on adding a user: +the users for prosody are contained in: +``` +CONFIG_FOLDER./prosody/data/meet%2ejitsi/accounts/ +``` +for every user there is a file username.dat, so for user Andrea with password "mypassword" there will be a file named: +``` +CONFIG_FOLDER./prosody/data/meet%2ejitsi/accounts/andrea.dat +``` +with this content: +``` +return { + ["password"] = "mypassword"; +}; +``` +you can hot-add a file for a user without restarting anything, like for the creation via commandline. + + +## notes on docker-compose: if something goes wrong, you might want to destroy all and start clean, for this you'll need to remove also the folder defined by CONFIG variable in .env, default is "~/.jitsi-meet-cfg" you can do it with one liner: