Skip to content

Commit 6fab4bf

Browse files
author
Maxim Mityutko
committed
[chore] Update README with instructions for custom extensions
1 parent e00e83a commit 6fab4bf

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,31 @@
1818
| `yt-dlp` | APT package | Media download/extraction tool used with summarization workflows. |
1919
| `gh` | GitHub APT repository package | GitHub CLI for issues, pull requests, releases, and repository automation. |
2020

21+
## Custom Extensions
22+
23+
This image installs custom OpenClaw extensions under `/app/custom/extensions`.
24+
For example, the Discord extension is copied to
25+
`/app/custom/extensions/discord` during the image build.
26+
27+
OpenClaw only loads custom plugin directories that are part of its plugin load
28+
configuration. Add `/app/custom/extensions` to `plugins.load.paths` in the
29+
OpenClaw config used by the container:
30+
31+
```json
32+
{
33+
"plugins": {
34+
...
35+
"load": {
36+
"paths": ["/app/custom/extensions"]
37+
}
38+
...
39+
}
40+
}
41+
```
42+
43+
If the config already defines `plugins.load.paths`, keep the existing entries
44+
and append `/app/custom/extensions` to the same array.
45+
2146
## Why
2247

2348
- Running OpenClaw in a containerized environment has trade-offs, but it

0 commit comments

Comments
 (0)