Make portainer skill use portable config paths

This commit is contained in:
Stefano Fiorini
2026-03-08 20:56:17 -05:00
parent f38b13c563
commit 3e611621d6
13 changed files with 234 additions and 24 deletions

View File

@@ -10,8 +10,9 @@ This skill provides a comprehensive set of commands for managing Portainer Docke
### Auth Configuration
Create a config file at:
Create a config file at one of these locations:
```
workspace/.clawdbot/credentials/portainer/config.json
~/.clawdbot/credentials/portainer/config.json
```
@@ -152,7 +153,7 @@ All scripts:
- Print results to stdout
Common errors:
- **Missing config file**: Create the auth configuration file
- **Missing config file**: Create the auth configuration file in the workspace `.clawdbot/credentials/portainer/` path or in `~/.clawdbot/credentials/portainer/`
- **Invalid API key**: Generate a new API key in Portainer
- **Stack not found**: Check the stack name with `list-stacks.sh`
- **504 Gateway Timeout**: The operation is still running in the background; wait and then run the prune command