A module that claims a seat is core, one that claims none a leaf (141 manifests; the build modules and the registry are the other developer's). The forge module's, the gate's and the sweep's states each name 8 MiB, and their findings stream 8 MiB for 7 days. Builds: design 47 H2 §810, §812, §783, §820; H-A-394 (1), H-A-411 (1), (2), H-A-378
67 lines
1.3 KiB
JSON
67 lines
1.3 KiB
JSON
{
|
|
"module": "ollama",
|
|
"version": "0.1",
|
|
"class": "leaf",
|
|
"capabilities": [
|
|
"container-runtime"
|
|
],
|
|
"provides": [
|
|
{
|
|
"name": "model-access",
|
|
"scope": "node",
|
|
"credential": {
|
|
"form": "none"
|
|
}
|
|
}
|
|
],
|
|
"listens": [
|
|
{
|
|
"name": "api",
|
|
"port": 11434,
|
|
"protocol": "tcp",
|
|
"from": "machine",
|
|
"why": "consumers on this machine reaching the local model server's OpenAI-compatible API"
|
|
}
|
|
],
|
|
"serves": {
|
|
"model-access": {
|
|
"port": 11434,
|
|
"model": "llama3.2"
|
|
}
|
|
},
|
|
"data": {
|
|
"own": [
|
|
{
|
|
"id": "models",
|
|
"path": "${dir:state}",
|
|
"class": "rebuildable",
|
|
"backup": "none",
|
|
"measure": "shallow",
|
|
"why": "models, downloaded again, and too large to copy every night"
|
|
}
|
|
]
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"path": "/services/ollama",
|
|
"mode": "0700",
|
|
"unknown": "program"
|
|
},
|
|
{
|
|
"id": "server",
|
|
"type": "container",
|
|
"name": "ollama",
|
|
"image": "ollama/ollama@sha256:32931b46719f673c05fdbaa81ccb26da18ea4a1c57590a754874ab28ba269eb2",
|
|
"network": "host",
|
|
"env": {
|
|
"OLLAMA_HOST": "0.0.0.0:11434"
|
|
},
|
|
"volumes": [
|
|
"/services/ollama:/root/.ollama"
|
|
]
|
|
}
|
|
]
|
|
}
|