feat: volume-based catalog refresh with hot-reload
- modules.py: check /data/ volume first, then baked-in /bicep_modules_catalog.json - server.py: add POST /reload endpoint — reloads catalogs without restart - ilsp.nomad: add 'ilsp-data' host volume mounted at /data - Makefile: add push-catalogs, health-prod, run-with-data targets; DEVOPS_MCP_REPO var - scripts/push_catalogs.sh: SCP both catalogs to autobox + call /reload Workflow: sync scripts on Mac → make push-catalogs → completions live in <5s
This commit is contained in:
12
ilsp.nomad
12
ilsp.nomad
@@ -62,6 +62,12 @@ job "ilsp" {
|
||||
unlimited = false
|
||||
}
|
||||
|
||||
volume "ilsp-data" {
|
||||
type = "host"
|
||||
source = "ilsp-data"
|
||||
read_only = false
|
||||
}
|
||||
|
||||
# Health check only — Traefik not used for LSP TCP traffic
|
||||
service {
|
||||
provider = "consul"
|
||||
@@ -127,6 +133,12 @@ EOH
|
||||
memory = 1536 # MB — dotnet needs headroom
|
||||
memory_max = 2560 # MB burst
|
||||
}
|
||||
|
||||
volume_mount {
|
||||
volume = "ilsp-data"
|
||||
destination = "/data"
|
||||
read_only = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user