Skip to content

Commit 002572a

Browse files
committed
Bump RabbitMQ containers from 4.2.x to 4.3.0-management
Upgrade the standard Docker container, Aspire AppHost, and chaos cluster nodes to RabbitMQ 4.3.0. The delayed exchange container remains on 4.2.5 since the plugin is incompatible with 4.3 (Mnesia removed).
1 parent 0af64fd commit 002572a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
rabbitmq:
3-
image: rabbitmq:4.2.5-management
3+
image: rabbitmq:4.3.0-management
44
ports:
55
- "5672:5672"
66
- "8080:15672" # management ui - login with guest:guest

tests/Foundatio.RabbitMQ.AppHost/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
var builder = DistributedApplication.CreateBuilder(args);
44

55
builder.AddRabbitMQ("messaging")
6+
.WithImageTag("4.3.0")
67
.WithManagementPlugin();
78

89
builder.AddContainer("messaging-delayed", "foundatiorabbitmq-rabbitmq-delayed", "latest")
@@ -16,7 +17,7 @@
1617
for (int nodeIndex = 0; nodeIndex < 3; nodeIndex++)
1718
{
1819
string hostname = chaosHostnames[nodeIndex];
19-
var chaosNode = builder.AddContainer($"chaos-{nodeIndex + 1}", "rabbitmq", "4.2.2-management")
20+
var chaosNode = builder.AddContainer($"chaos-{nodeIndex + 1}", "rabbitmq", "4.3.0-management")
2021
.WithContainerNetworkAlias(hostname)
2122
.WithContainerRuntimeArgs($"--memory={containerMemoryLimits[nodeIndex]}", "--hostname", hostname)
2223
.WithEnvironment("RABBITMQ_DEFAULT_USER", "guest")

0 commit comments

Comments
 (0)