add docker-compose.yml
This commit is contained in:
parent
3f930c5092
commit
b7965602ba
2 changed files with 23 additions and 14 deletions
29
README.md
29
README.md
|
|
@ -118,24 +118,24 @@ npx -y @modelcontextprotocol/inspector
|
|||
|
||||
#### Integrated Mode
|
||||
```
|
||||
┌──────────┐ ┌─────────────────┐
|
||||
│ MCP │◀────▶│ MCP Server │
|
||||
│ Inspector│ │ (port 3232) │
|
||||
└──────────┘ │ │
|
||||
│ - OAuth Server │
|
||||
│ - Resource Server│
|
||||
└─────────────────┘
|
||||
┌──────────┐ ┌───────────────────┐
|
||||
│ MCP │◀────▶│ MCP Server │
|
||||
│ Inspector│ │ (port 3232) │
|
||||
└──────────┘ │ │
|
||||
│ - OAuth Server │
|
||||
│ - Resource Server │
|
||||
└───────────────────┘
|
||||
```
|
||||
|
||||
#### Separate Mode
|
||||
```
|
||||
┌──────────┐ ┌─────────────────┐ ┌─────────────────┐
|
||||
│ MCP │◀────▶│ MCP Server │◀────▶│ Auth Server │
|
||||
│ Inspector│ │ (port 3232) │ │ (port 3001) │
|
||||
└──────────┘ │ │ │ │
|
||||
│ │ - Resource Server│ │ - OAuth Server │
|
||||
└───────────▶│ │ │ │
|
||||
└─────────────────┘ └─────────────────┘
|
||||
┌──────────┐ ┌───────────────────┐ ┌─────────────────┐
|
||||
│ MCP │◀────▶│ MCP Server │◀────▶│ Auth Server │
|
||||
│ Inspector│ │ (port 3232) │ │ (port 3001) │
|
||||
└──────────┘ │ │ │ │
|
||||
│ │ - Resource Server │ │ - OAuth Server │
|
||||
└───────────▶│ │ │ │
|
||||
└───────────────────┘ └─────────────────┘
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
|
@ -160,6 +160,7 @@ Install a Docker runtime:
|
|||
|
||||
Start Redis:
|
||||
```bash
|
||||
# see docker-compose.yml
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
|
|
|
|||
8
docker-compose.yml
Normal file
8
docker-compose.yml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:7.2-bookworm
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "6379:6379"
|
||||
Loading…
Reference in a new issue