Initial configuration to install a web environment with the following images:
- nginx: reverse-proxy for Apache and PhpMyAdmin
- PHP-FPM 8.2 with
composer - Apache (httpd): as a proxy for requests to PHP-FPM
- MySQL 8: default access credentials are defined in
.envfile - NodeJS 21
- phpMyAdmin 5.2: it will be available on the port
81, e.g.http://localhost:81
- Docker 24.0
- Docker Compose 2.22
- Run
make buildto build the Docker images - Run
make upto run the Docker containers
All the commands above can be run with one command:
make build && make up
As a result, the application will be available at http://localhost/.
To stop the application, run make down.