added adding user via filesystem
This commit is contained in:
parent
7e05c39434
commit
9407f357ca
1 changed files with 21 additions and 2 deletions
23
README.md
23
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:
|
||||
|
|
Loading…
Reference in a new issue