This configuration basically resembles a mix of cmaessen's docker-php-sendmail project and mikechernev's NGINX configuration.
It includes the following:
- NGINX
- port 8080
- PHP
- FPM configured for NGINX
- XDebug connecting to the docker host
- place
.php
files into a directory named "code" for them to be executable
- sendmail
- MailDev
- you might want to adjust the root mail address in
Dockerfile:17
- port 8081
- you might want to adjust the root mail address in
- MySQL
- you also might want to adjust the default password (which is "password") in
docker-compose.yml
- port 3306
- you also might want to adjust the default password (which is "password") in
- phpmyadmin
- defaults see
docker-compose.yml
, also consider changing the password here too - port 8082
- defaults see