@infinitedusky/indusk-mcp 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { execSync } from "node:child_process";
2
- import { cpSync, existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
2
+ import { cpSync, existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync, } from "node:fs";
3
3
  import { dirname, join } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
5
  import { globSync } from "glob";
@@ -13,7 +13,7 @@
13
13
  }
14
14
  },
15
15
  "hooks": {
16
- "on_init": "docker start falkordb 2>/dev/null || docker run -d --name falkordb --restart unless-stopped -v falkordb-global:/data falkordb/falkordb:latest",
16
+ "on_init": "docker start falkordb 2>/dev/null || docker run -d --name falkordb --restart unless-stopped -v falkordb-global:/var/lib/falkordb/data falkordb/falkordb:latest",
17
17
  "on_health_check": "docker ps --filter name=falkordb --format '{{.Status}}'"
18
18
  }
19
19
  }
@@ -0,0 +1,7 @@
1
+ # Mount Docker volumes to the actual data directory
2
+
3
+ When creating a Docker container with a persistent volume, verify where the application actually writes data — don't assume `/data`.
4
+
5
+ FalkorDB writes to `/var/lib/falkordb/data/`, not `/data`. Mounting a volume to `/data` captures an empty directory with a symlink, not the actual data. On container recreation, the data is gone.
6
+
7
+ Always check the image's actual data path before creating the volume mount. `docker exec <container> ls -la /data/` will show you if it's a symlink to somewhere else.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinitedusky/indusk-mcp",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "InDusk development system — skills, MCP tools, and CLI for structured AI-assisted development",
5
5
  "type": "module",
6
6
  "files": [