Update README.md

Signed-off-by: Mohammad Sadegh Sheikh Zahedi <sheikhoo.iran@gmail.com>
This commit is contained in:
Mohammad Sadegh Sheikh Zahedi 2023-01-02 14:49:39 +03:30
parent b670c71c4a
commit f804046e66
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ services:
ports:
- 8080:8080
rabbitmq:
rabbitmq:3.9-management
image: rabbitmq
...
```
The compose file defines an application with two services `backend` and `rabbitmq`.
@ -47,6 +47,7 @@ CONTAINER ID IMAGE COMMAND CREATED
After the application starts, you can send and receive data to rabbitmq with this api :
`POST`: http://localhost:8080/sendMessage
Body:
```
{