Skip to content

Commit 2016bee

Browse files
add docker-desktop secret support ot agno
1 parent d5907a8 commit 2016bee

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

agno/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,17 @@ a **Writer** agent that summarizes and categorizes them into a comprehensive mar
3737
github.personal_access_token=ghp_XXXXX
3838
```
3939

40+
or
41+
42+
- set the MCP secret in Docker Desktop and export if you're running with Docker Offload.
43+
44+
```sh
45+
touch .mcp.env
46+
docker mcp secret set 'github.personal_access_token=ghp_XXXXX'
47+
# only needed if running with Docker Offload
48+
docker mcp secret export > .mcp.env
49+
```
50+
4051
### Run the Project
4152

4253
```sh

agno/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ services:
3838
command:
3939
- --transport=streaming
4040
# securely embed secrets into the gateway
41-
- --secrets=/run/secrets/mcp_secret
41+
- --secrets=docker-desktop:/run/secrets/mcp_secret
4242
# add any MCP servers you want to use
4343
- --servers=github-official
4444
# add an interceptor to format and simplify the output of the GitHub issues tool

0 commit comments

Comments
 (0)