FastCGI/uwsgi server separation for Docker
Hi, Sorry, it is not an issue, but more general question.
I am working on building LemonLdap container.
The idea of having Apache/Nginx service with FastCGI/UwSGI service in the same container does not appear right.
I have some question: I would like to have a separate container for FastCGI and uwsgi server.
Question 1: Is it possible to have FastCGI and uwsgi server in a different container than Handler, portal and manager? Question 2: If yes, do I need to install Apache or Nginx? I think no, but I am not sure.
The other thing, is that, I am not sure hows the servers work. I see a lot of dependency with LemonLdap Perl modules. Question 3: Does it means that I have to install all the Perl modules (included Lemonldap module) and configure them to make the FastCGI and uwsgi server work?
In FastCGI server, I see that there is only 2 possible sources Nginx and Traefik. Question 4: Is Apache HTTPD not a source, for Apache, how does it work?
This is a general question: I am confuse because in the code, I see only APACHEUSER and APACHEGROUP. For Debian, the uid and gid is 33, but for Nginx, it is 101. Question 5: So when you do not use Apache HTTPD, how do you set the user to the correct uid and gid with Nginx? Or do we not care, we always give ownership for the lemonldap-ng file to www-data (33)?
Regards, Pierre