This tutorial is an example of sending email asynchronously using symfony/messenger and RabbitMQ.
In the app directory lives our application source code.
The utils directory Docker's services needed.
- Nginx
- MySQL 8.0
- PHP 7.4
- RabbitMQ
- PHPMyAdmin
- MailHog
After cloning the repository.
You can change all variables and ports defined in the utils/docker/.env file.
cd utils/docker
docker-compose buildYou can use the Makefile to build :
make builddocker-compose run --rm php bash
composer installdocker-compose up -d
# same thing here you can use the Makefile
make updocker-compose down --remove-orphans
# same thing here you can use the Makefile
make down