Improve docker config
This commit is contained in:
94
infrastructure/rabbitmq/definitions.json
Normal file
94
infrastructure/rabbitmq/definitions.json
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"rabbit_version": "3.12.0",
|
||||
"rabbitmq_version": "3.12.0",
|
||||
"product_name": "RabbitMQ",
|
||||
"product_version": "3.12.0",
|
||||
"users": [
|
||||
{
|
||||
"name": "bakery",
|
||||
"password_hash": "hash_of_forecast123",
|
||||
"hashing_algorithm": "rabbit_password_hashing_sha256",
|
||||
"tags": ["administrator"]
|
||||
}
|
||||
],
|
||||
"vhosts": [
|
||||
{
|
||||
"name": "/"
|
||||
}
|
||||
],
|
||||
"permissions": [
|
||||
{
|
||||
"user": "bakery",
|
||||
"vhost": "/",
|
||||
"configure": ".*",
|
||||
"write": ".*",
|
||||
"read": ".*"
|
||||
}
|
||||
],
|
||||
"exchanges": [
|
||||
{
|
||||
"name": "bakery_events",
|
||||
"vhost": "/",
|
||||
"type": "topic",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"internal": false,
|
||||
"arguments": {}
|
||||
}
|
||||
],
|
||||
"queues": [
|
||||
{
|
||||
"name": "training_events",
|
||||
"vhost": "/",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {
|
||||
"x-message-ttl": 86400000
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "forecasting_events",
|
||||
"vhost": "/",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {
|
||||
"x-message-ttl": 86400000
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "notification_events",
|
||||
"vhost": "/",
|
||||
"durable": true,
|
||||
"auto_delete": false,
|
||||
"arguments": {
|
||||
"x-message-ttl": 86400000
|
||||
}
|
||||
}
|
||||
],
|
||||
"bindings": [
|
||||
{
|
||||
"source": "bakery_events",
|
||||
"vhost": "/",
|
||||
"destination": "training_events",
|
||||
"destination_type": "queue",
|
||||
"routing_key": "training.*",
|
||||
"arguments": {}
|
||||
},
|
||||
{
|
||||
"source": "bakery_events",
|
||||
"vhost": "/",
|
||||
"destination": "forecasting_events",
|
||||
"destination_type": "queue",
|
||||
"routing_key": "forecasting.*",
|
||||
"arguments": {}
|
||||
},
|
||||
{
|
||||
"source": "bakery_events",
|
||||
"vhost": "/",
|
||||
"destination": "notification_events",
|
||||
"destination_type": "queue",
|
||||
"routing_key": "notification.*",
|
||||
"arguments": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user