Skip to content

Commit 661fdcd

Browse files
committed
build(compose-dev): add 2 community mcp examples and inspector
1 parent e292979 commit 661fdcd

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

compose-dev.yaml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
dockerfile: ./backend/api/Dockerfile
77
entrypoint: uv run fastapi run api/main.py --root-path=/api --reload
88
env_file:
9-
- ./envs/shared_mcp.env
9+
- ./envs/backend.env
1010
ports:
1111
- 8000:8000
1212
volumes:
@@ -19,14 +19,41 @@ services:
1919
build:
2020
context: .
2121
dockerfile: ./backend/mcp/Dockerfile
22-
env_file:
23-
- ./envs/shared_mcp.env
22+
environment:
23+
- MCP_SERVER_PORT=${MCP_SERVER_PORT}
2424
ports:
25-
- 8050:8050
25+
- ${MCP_SERVER_PORT}:${MCP_SERVER_PORT}
2626
volumes:
2727
- ./backend/mcp:/app/mcp
2828
- ./backend/shared_mcp:/app/shared_mcp
2929

30+
youtube:
31+
image: youtube-mcp-server
32+
env_file:
33+
- ./envs/youtube.env
34+
environment:
35+
- YOUTUBE_MCP_SERVER_PORT=${MCP_SERVER_PORT}
36+
ports:
37+
- 5000:${MCP_SERVER_PORT}
38+
39+
dbhub:
40+
image: bytebase/dbhub:0.3.3
41+
ports:
42+
- 8080:${MCP_SERVER_PORT}
43+
command: >
44+
--transport sse
45+
--port ${MCP_SERVER_PORT}
46+
--dsn ${POSTGRES_DSN}
47+
48+
inspector:
49+
image: inspector:prod
50+
build:
51+
context: .
52+
dockerfile: ./inspector/Dockerfile
53+
ports:
54+
- 6274:6274
55+
- 6277:6277
56+
3057
nginx:
3158
image: nginx:1.26.3-alpine
3259
ports:

0 commit comments

Comments
 (0)