[messenger] Docker support

This commit is contained in:
Maxime Helias
2019-08-01 10:10:04 +02:00
parent 3fcc5350c3
commit d74b307f6a
2 changed files with 30 additions and 0 deletions
+15
View File
@@ -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"
+15
View File
@@ -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"