Skip to content

Conversation

@juntao
Copy link
Contributor

@juntao juntao commented May 21, 2025

All our docker-compose images share a single Dockerfile. So, we should move runtime stuff into docker-compose.yml from Dockerfile.

HOWEVER, this does not solve the mcp-server failure. Docker log shows that the mcp-server started a server on port 8000 instead of the intended port 3001.

INFO: Uvicorn running on [http://0.0.0.0:8000⁠](http://0.0.0.0:8000/) (Press CTRL+C to quit)

I believe that is due to the app/main.py itself started a server at port 8000. The Python code has a lot of issues like this (e.g., hard-coded port numbers, explicit server start, duplicated MCP functions etc). We should probably fix them in order for the MCP server to start correctly.

juntao added 2 commits May 21, 2025 18:49
All our docker-compose images share this Dockerfile. So, we should move runtime stuff into docker-compose.yml from Dockerfile.
@Acuspeedster Acuspeedster merged commit c6824c2 into cardea-mcp:main May 25, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants