Skip to content

Commit 0756cea

Browse files
committed
fix: update mcp-proxy service to build from Dockerfile and correct command syntax
1 parent 5123927 commit 0756cea

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docker-compose.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,19 @@ services:
2929
- QDRANT_PORT=6333
3030
command: python -m examples.run_mcp_server
3131
ports:
32-
- "3001:3001" # Add this line to expose port 3001
32+
- "3001:3001"
3333
volumes:
3434
- .:/app
3535
depends_on:
3636
- qdrant
3737

3838
mcp-proxy:
39-
image: ghcr.io/microsoft/mcp-proxy:latest # Use the official image
39+
build:
40+
context: .
41+
dockerfile: Dockerfile
4042
ports:
4143
- "3000:3000"
42-
command: http://mcp-server:3001/sse --port 3000 --host 0.0.0.0 --allow-origin="*"
44+
command: mcp-proxy http://mcp-server:3001/sse --port 3000 --host 0.0.0.0 --allow-origin="*"
4345
volumes:
4446
- ./mcp-proxy-config.json:/app/mcp-proxy-config.json
4547
depends_on:

0 commit comments

Comments
 (0)