add docker-compose.yml
This commit is contained in:
parent
3f930c5092
commit
b7965602ba
2 changed files with 23 additions and 14 deletions
|
|
@ -118,24 +118,24 @@ npx -y @modelcontextprotocol/inspector
|
||||||
|
|
||||||
#### Integrated Mode
|
#### Integrated Mode
|
||||||
```
|
```
|
||||||
┌──────────┐ ┌─────────────────┐
|
┌──────────┐ ┌───────────────────┐
|
||||||
│ MCP │◀────▶│ MCP Server │
|
│ MCP │◀────▶│ MCP Server │
|
||||||
│ Inspector│ │ (port 3232) │
|
│ Inspector│ │ (port 3232) │
|
||||||
└──────────┘ │ │
|
└──────────┘ │ │
|
||||||
│ - OAuth Server │
|
│ - OAuth Server │
|
||||||
│ - Resource Server │
|
│ - Resource Server │
|
||||||
└─────────────────┘
|
└───────────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Separate Mode
|
#### Separate Mode
|
||||||
```
|
```
|
||||||
┌──────────┐ ┌─────────────────┐ ┌─────────────────┐
|
┌──────────┐ ┌───────────────────┐ ┌─────────────────┐
|
||||||
│ MCP │◀────▶│ MCP Server │◀────▶│ Auth Server │
|
│ MCP │◀────▶│ MCP Server │◀────▶│ Auth Server │
|
||||||
│ Inspector│ │ (port 3232) │ │ (port 3001) │
|
│ Inspector│ │ (port 3232) │ │ (port 3001) │
|
||||||
└──────────┘ │ │ │ │
|
└──────────┘ │ │ │ │
|
||||||
│ │ - Resource Server │ │ - OAuth Server │
|
│ │ - Resource Server │ │ - OAuth Server │
|
||||||
└───────────▶│ │ │ │
|
└───────────▶│ │ │ │
|
||||||
└─────────────────┘ └─────────────────┘
|
└───────────────────┘ └─────────────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
@ -160,6 +160,7 @@ Install a Docker runtime:
|
||||||
|
|
||||||
Start Redis:
|
Start Redis:
|
||||||
```bash
|
```bash
|
||||||
|
# see docker-compose.yml
|
||||||
docker compose up -d
|
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