docker-jitsi-meet
docker-jitsi-meet copied to clipboard
Creating users for internal authentication
I would like to have an option to create users per demand to be moderators on the sessions via composer or some args.
I run jitsi on ECS and the only way to create users is to use a personalized Dockerfile and ADD
my USER.dat on the /config/data/meet%2ejitsi/accounts
path.
The documentation indicate that the only way to create users is running inside the container the prosodyctl
command, but should be a way to create users in the building process.
Do you have a suggestion?
Do you have a suggestion?
Thanks for your answer @saghul
Maybe some args bypassed to the .env file something like
PROSODY_USERn
= "USER"
and
PROSODY_PASSWORDn
= "HashedPasswd"
Where n indicates the number of the users created
I don't think that can work because we need to know the exact env variables in order to pass them around.
I don't think that can work because we need to know the exact env variables in order to pass them around.
Or maybe not many users but only one?
This could be implemented by using a file which can be mounted into the container. It could be in this format:
username\tpassword\n
So each line would contain username and password separated by a TAB. This is easy to parse in bash and create the users on container startup if the file exists.
That would be great!