Demo Rabbit MQ
The simply method to set up this project (for development only) is using Docker and Docker Compose.
Setup & start
1. Setup Docker
The first, install Docker and Docker Compose:
2. Clone source code
Clone this project to your server or local machine.
3. Build & start application
Run following command to build & start your application
docker-compose up
Run in background
docker-compose up -d
4. Install packages
composer install
How to run
Exec to php node
docker-compose exec php bash
Send message
php producer.php [Message]
Run process
php consumer.php