This project demonstrates how to setup an application using the LAMP Stack (Linux, Apache, MySQL, PHP) and a LDAP Server using Docker Compose.
- Docker
- Docker Desktop (includes Docker)
- execute
docker compose upin the terminal
- press
Ctrl + Cin the terminal - execute
docker compose downin the terminal
- localhost:8001
- username: php_docker
- password: password
- localhost:8002
- Login DN: cn=admin,dc=waldorfconnect,dc=de
- password: password
- localhost or localhost:80 or localhost/index.php
- localhost/test.php
5 Containers:
- MySQL database
- phpMyAdmin
- accesses and depends on the database
- LDAP server
- phpLdapAdmin
- accesses and depends on the LDAP server
- website
- accesses and depends on the database and the LDAP server



