add docker-compose.yml

This commit is contained in:
Basil Hosmer 2025-09-04 22:46:32 -04:00
commit b7965602ba
No known key found for this signature in database
2 changed files with 23 additions and 14 deletions

View file

@ -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
View file

@ -0,0 +1,8 @@
version: '3.8'
services:
redis:
image: redis:7.2-bookworm
restart: unless-stopped
ports:
- "6379:6379"