mirror of
https://github.com/floci-io/floci-cli.git
synced 2026-11-23 06:00:47 -05:00
fix(start): mount host persistent path to /app/data in container (#8)
This commit is contained in:
1 parent
53753f1816
commit
dfec24c123
1 file changed
+1
-1
@@ -83,7 +83,7 @@ public class StartCommand implements Callable<Integer> {
|
||||
args.addAll(List.of("-p", port + ":4566"));
|
||||
args.addAll(DockerClient.dockerSocketRunArgs());
|
||||
if (persistDir != null) {
|
||||
args.addAll(List.of("-v", persistDir + ":/var/lib/floci"));
|
||||
args.addAll(List.of("-v", persistDir + ":/app/data"));
|
||||
}
|
||||
if (services != null && !services.isBlank()) {
|
||||
args.addAll(List.of("-e", "FLOCI_SERVICES=" + services));
|
||||
|
||||
Reference in new issue
Block a user