I got it working, in short, all environment variable are in the Unraid docker template,
Set the Enable Email Login, Enable Email Registration, Enable Social Login and Enable Social Registration to your need.
More info here: https://docs.librechat.ai/install/configuration/user_auth_system.html
I enabled the email and social login, but I disabled the registration.
Then open the LibreChat docker console and run this command: `npm run create-user`
I will do more testing and see if Librechat store the configuration in the docker volume or if it rely on the MongoDB for that, if the config is in the volume then it will make sense to add a shared folder from unraid to Librechat so the config persist if the volume is deleted. (not sure yet how that work)
You don't need to add it to the `.env`, I didn't try but if you want to do it that way instead of using the docker environment variable, you will need to create a path config in the Unraid docker template of LibreChat.
Create the librechat folder in your Docker/appdata, then add a empty .env file.
Config Type: path
Name: env file
Container Path: /app/.env
Host Path: /mnt/user/Docker/appdata/librechat/.env