File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
modules/hivemq/src/main/java/org/testcontainers/hivemq Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1818import java .nio .charset .StandardCharsets ;
1919import java .time .Duration ;
2020import java .util .Collections ;
21+ import java .util .HashMap ;
2122import java .util .HashSet ;
2223import java .util .Set ;
2324import java .util .concurrent .ConcurrentHashMap ;
@@ -77,6 +78,16 @@ public HiveMQContainer(final @NotNull DockerImageName dockerImageName) {
7778 });
7879 }
7980 });
81+
82+ final HashMap <String , String > tmpFs = new HashMap <>();
83+ if (dockerImageName .isCompatibleWith (DEFAULT_HIVEMQ_EE_IMAGE_NAME )) {
84+ tmpFs .put ("/opt/hivemq/audit" , "rw" );
85+ tmpFs .put ("/opt/hivemq/backup" , "rw" );
86+ }
87+
88+ tmpFs .put ("/opt/hivemq/log" , "rw" );
89+ tmpFs .put ("/opt/hivemq/data" , "rw" );
90+ withTmpFs (tmpFs );
8091 }
8192
8293 @ Override
You can’t perform that action at this time.
0 commit comments