Skip to content

Commit 13d0296

Browse files
committed
fix: add port exposure for mcp-server and restart policy for mcp-proxy
1 parent 758ebef commit 13d0296

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ services:
2828
- QDRANT_HOST=qdrant
2929
- QDRANT_PORT=6333
3030
command: python -m examples.run_mcp_server
31+
ports:
32+
- "3001:3001" # Add this line to expose port 3001
3133
volumes:
3234
- .:/app
3335
depends_on:
@@ -42,6 +44,7 @@ services:
4244
command: mcp-proxy http://mcp-server:3001/sse --port 3000 --host 0.0.0.0 --allow-origin="*"
4345
depends_on:
4446
- mcp-server
47+
restart: on-failure # Add restart policy to retry connection
4548

4649
qdrant:
4750
image: qdrant/qdrant

0 commit comments

Comments
 (0)