Skip to content

Commit d74b307

Browse files
committed
[messenger] Docker support
1 parent 3fcc535 commit d74b307

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

symfony/messenger/4.1/manifest.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@
55
"env": {
66
"#1": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages"
77
},
8+
"docker-compose": {
9+
"services": [
10+
"rabbitmq:",
11+
" image: rabbitmq:management-alpine",
12+
" environment:",
13+
" # You should definitely change the password in production",
14+
" - RABBITMQ_DEFAULT_USER=guest",
15+
" - RABBITMQ_DEFAULT_PASS=guest",
16+
" volumes:",
17+
" - rabbitmq-data:/var/lib/rabbitmq",
18+
" ports:",
19+
" - \"5672\""
20+
],
21+
"volumes": ["rabbitmq-data: {}"]
22+
},
823
"aliases": ["messenger"],
924
"conflict": {
1025
"symfony/framework-bundle": "<4.1"

symfony/messenger/4.3/manifest.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@
88
"#3": "MESSENGER_TRANSPORT_DSN=doctrine://default",
99
"#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages"
1010
},
11+
"docker-compose": {
12+
"services": [
13+
"rabbitmq:",
14+
" image: rabbitmq:management-alpine",
15+
" environment:",
16+
" # You should definitely change the password in production",
17+
" - RABBITMQ_DEFAULT_USER=guest",
18+
" - RABBITMQ_DEFAULT_PASS=guest",
19+
" volumes:",
20+
" - rabbitmq-data:/var/lib/rabbitmq",
21+
" ports:",
22+
" - \"5672\""
23+
],
24+
"volumes": ["rabbitmq-data: {}"]
25+
},
1126
"aliases": ["messenger"],
1227
"conflict": {
1328
"symfony/framework-bundle": "<4.3"

0 commit comments

Comments
 (0)