mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
[messenger] Docker support
This commit is contained in:
@@ -5,6 +5,21 @@
|
||||
"env": {
|
||||
"#1": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages"
|
||||
},
|
||||
"docker-compose": {
|
||||
"services": [
|
||||
"rabbitmq:",
|
||||
" image: rabbitmq:management-alpine",
|
||||
" environment:",
|
||||
" # You should definitely change the password in production",
|
||||
" - RABBITMQ_DEFAULT_USER=guest",
|
||||
" - RABBITMQ_DEFAULT_PASS=guest",
|
||||
" volumes:",
|
||||
" - rabbitmq-data:/var/lib/rabbitmq",
|
||||
" ports:",
|
||||
" - \"5672\""
|
||||
],
|
||||
"volumes": ["rabbitmq-data: {}"]
|
||||
},
|
||||
"aliases": ["messenger"],
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<4.1"
|
||||
|
||||
@@ -8,6 +8,21 @@
|
||||
"#3": "MESSENGER_TRANSPORT_DSN=doctrine://default",
|
||||
"#4": "MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages"
|
||||
},
|
||||
"docker-compose": {
|
||||
"services": [
|
||||
"rabbitmq:",
|
||||
" image: rabbitmq:management-alpine",
|
||||
" environment:",
|
||||
" # You should definitely change the password in production",
|
||||
" - RABBITMQ_DEFAULT_USER=guest",
|
||||
" - RABBITMQ_DEFAULT_PASS=guest",
|
||||
" volumes:",
|
||||
" - rabbitmq-data:/var/lib/rabbitmq",
|
||||
" ports:",
|
||||
" - \"5672\""
|
||||
],
|
||||
"volumes": ["rabbitmq-data: {}"]
|
||||
},
|
||||
"aliases": ["messenger"],
|
||||
"conflict": {
|
||||
"symfony/framework-bundle": "<4.3"
|
||||
|
||||
Reference in New Issue
Block a user