Skip to content

Commit 104af18

Browse files
authored
Enable Solace PubSub+ Manager (#7411)
`PubSub+ Manager` is available in port 8080. Also, default credentials have been set.
1 parent 147a49a commit 104af18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/solace/src/main/java/org/testcontainers/solace/SolaceContainer.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* <p>
2121
* Exposed ports:
2222
* <ul>
23+
* <li>Console: 8080</li>
2324
* <li>AMQP: 5672</li>
2425
* <li>MQTT: 1883</li>
2526
* <li>HTTP: 9000</li>
@@ -69,6 +70,9 @@ public SolaceContainer(DockerImageName dockerImageName) {
6970
cmd.getHostConfig().withShmSize(SHM_SIZE).withUlimits(new Ulimit[] { new Ulimit("nofile", 2448L, 6592L) });
7071
});
7172
this.waitStrategy = Wait.forLogMessage(SOLACE_READY_MESSAGE, 1).withStartupTimeout(Duration.ofSeconds(60));
73+
withExposedPorts(8080);
74+
withEnv("username_admin_globalaccesslevel", "admin");
75+
withEnv("username_admin_password", "admin");
7276
}
7377

7478
@Override

0 commit comments

Comments
 (0)