@cortex-context/cli 0.0.13 → 0.0.15

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.
@@ -40,16 +40,28 @@ services:
40
40
  NEO4J_PASSWORD: cortex-local
41
41
  CORTEX_API_TOKEN: ${CORTEX_API_TOKEN:-}
42
42
  LOG_LEVEL: INFO
43
+ SPECS_DIR: /specs
44
+ REPOS_DIR: /repos
43
45
  ports:
44
46
  - "8082:8082"
47
+ volumes:
48
+ - ${SPECS_DIR_HOST:-./specs-sample}:/specs:ro
49
+ - ${REPOS_DIR_HOST:-./repos-sample}:/repos:ro
45
50
  depends_on:
46
51
  neo4j:
47
52
  condition: service_healthy
48
53
  healthcheck:
49
- test: ["CMD", "wget", "-qO-", "http://localhost:8082/health"]
54
+ test:
55
+ [
56
+ "CMD",
57
+ "python",
58
+ "-c",
59
+ "import urllib.request; urllib.request.urlopen('http://localhost:8082/health')",
60
+ ]
50
61
  interval: 10s
51
- timeout: 5s
62
+ timeout: 10s
52
63
  retries: 10
64
+ start_period: 20s
53
65
  restart: unless-stopped
54
66
 
55
67
  volumes:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cortex-context/cli",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "description": "CLI to initialize and manage Cortex Context (Knowledge Graph) in any VS Code workspace",
5
5
  "bin": {
6
6
  "cortex-context": "./dist/index.js"