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 build
You can use the Makefile to build :
make build
docker-compose run --rm php bash
composer install
docker-compose up -d
# same thing here you can use the Makefile
make up
docker-compose down --remove-orphans
# same thing here you can use the Makefile
make down