Skip to content

Instantly share code, notes, and snippets.

@avoidwork
Created April 30, 2026 11:56
Show Gist options
  • Select an option

  • Save avoidwork/076e3f7abc879ccb315e801f2eae3cd2 to your computer and use it in GitHub Desktop.

Select an option

Save avoidwork/076e3f7abc879ccb315e801f2eae3cd2 to your computer and use it in GitHub Desktop.
openclaw + vllm + docker config
{
"gateway": {
"controlUi": {
"allowInsecureAuth": true,
"dangerouslyDisableDeviceAuth": true,
"allowedOrigins": [
"http://localhost:18789",
"http://127.0.0.1:18789",
"http://10.1.2.20:18789",
"http://containers.lan:18789"
]
}
},
"meta": {
"lastTouchedVersion": "2026.4.27",
"lastTouchedAt": "2026-04-30T01:56:18.347Z"
},
"models": {
"providers": {
"vllm": {
"baseUrl": "http://10.1.2.60:8000/v1",
"apiKey": "abc",
"api": "openai-completions",
"contextWindow": 128000,
"contextTokens": 48000,
"timeoutSeconds": 30000,
"models": [
{
"id": "vllm",
"name": "vllm",
"api": "openai-completions",
"baseUrl": "http://10.1.2.60:8000/v1",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 48000
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment