Skip to content

Commit

Permalink
add RabbitMQ docker
Browse files Browse the repository at this point in the history
  • Loading branch information
makomweb committed Jun 16, 2021
1 parent 5b01a8e commit ef356fe
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,13 @@ php bin/console doctrine:migrations:migrate

## Consume message asynchronously

`symfony console messenger:consume async -vv`
`symfony console messenger:consume async -vv`

## Add RabbitMQ

RabbitMQ is part of the docker-compose inside this repo.

You can start a docker container with `docker-compose up -d`.

After the container is up you can access the webfrontend via
http://guest:guest@localhost:15672.
8 changes: 8 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '3.1'

services:
rabbitmq:
image: rabbitmq:3.8-management
ports:
- "5672:5672"
- "15672:15672"

0 comments on commit ef356fe

Please sign in to comment.