mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 01:56:26 +03:00
31 lines
979 B
JSON
31 lines
979 B
JSON
{
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"env": {
|
|
"#1": "Choose one of the transports below",
|
|
"#2": "MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages",
|
|
"#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"
|
|
}
|
|
}
|