docker-lemonldap icon indicating copy to clipboard operation
docker-lemonldap copied to clipboard

using database backend storage

Open tomflenner opened this issue 4 years ago • 4 comments

Hi, after reading the official documentation i saw that if i wanted to use a MongoDB session storage i would need Apache::Session::MongoDB. But the actual container is running on nginx.

Do you have other way to do a database backend storage with the container ?

Thanks.

tomflenner avatar Mar 21 '21 21:03 tomflenner

Image has MariaDB, Postgres, Redis and MongoDB client / C libraries installed so you can do that without a rebuild of the image..

tiredofit avatar Mar 21 '21 21:03 tiredofit

so in configuration lemonldap-ng.ini i just need to use:

[configuration] host = [IP]:[PORT] => IP of external database

to work with MongoDB backend database ?

thanks

tomflenner avatar Mar 21 '21 21:03 tomflenner

And i have another issue on my manager when i use the docker-compose, is that normal the preview display a 404 Not Found on this ?

image

Thanks for answer

tomflenner avatar Mar 21 '21 21:03 tomflenner

Yes you would want to change your SETUP_TYPE=MANUAL as an environment varialbe and then you would set your lemonldap-ng.ini file as per the LLNG instructions, depending on what you are doing.

The 404 error there is a bug that I haven't gotten around to solving - This is simply a replica of the LLNG Documentation yet stored locally. It broke a couple builds back and I've not had time to solve. The image works great, I serve thousands of users hourly with it.

tiredofit avatar Mar 22 '21 01:03 tiredofit