tiredofit / docker-lemonldap

Dockerized authentication server with Single Sign On SAML, OpenID Connect, CAS, and Header support
MIT License
45 stars 10 forks source link

using database backend storage #17

Open tomflenner opened 3 years ago

tomflenner commented 3 years ago

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.

tiredofit commented 3 years ago

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

tomflenner commented 3 years ago

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 commented 3 years ago

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

tiredofit commented 3 years ago

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.