This project is on my Github. The only thing that changes is that I have Dockerized it.
It is important to have installed Docker.oi & docker-compose.
Clon the Proyect
https://github.com/safernandez666/Controls.git
Configure the LDAP Server in login.php & add the Group to the AD User
$host = '192.168.0.190';
$domain = 'ironbox.local';
$basedn = 'dc=ironbox,dc=local';
$group = 'Grupo_Controls';
Windows AD Config
Inside the folder
docker-compose up -d --build
Then to find out if the containers are running, you can run this command and you will see the Docker's
docker-compose ps
Now you can enjoy the Application on http://localhost.
If you want to set emails, you can configure /envios/enviar.py and croned in the Dockerfile.
I am not a developer, this MVP was made a long time ago. Know how to excuse that code & harcoding. π€ͺ