Skip to content

Commit 4b01fc7

Browse files
fix(start): mount host persistent path to /app/data in container
1 parent 53753f1 commit 4b01fc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/io/floci/cli/commands/StartCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public Integer call() {
8383
args.addAll(List.of("-p", port + ":4566"));
8484
args.addAll(DockerClient.dockerSocketRunArgs());
8585
if (persistDir != null) {
86-
args.addAll(List.of("-v", persistDir + ":/var/lib/floci"));
86+
args.addAll(List.of("-v", persistDir + ":/app/data"));
8787
}
8888
if (services != null && !services.isBlank()) {
8989
args.addAll(List.of("-e", "FLOCI_SERVICES=" + services));

0 commit comments

Comments
 (0)