fix: bind MCP server to 0.0.0.0 for Docker accessibility

This commit is contained in:
2026-03-18 19:29:46 -05:00
parent 20dc58d152
commit 89f95d2015
2 changed files with 3 additions and 1 deletions

View File

@@ -14,4 +14,4 @@ RUN uv pip install --editable .
EXPOSE 3001 EXPOSE 3001
CMD ["uv", "run", "fastmcp", "run", "./src/tryton_mcp/server.py", "--transport", "http", "--port", "3001"] CMD ["uv", "run", "fastmcp", "run", "./src/tryton_mcp/server.py", "--transport", "http", "--host", "0.0.0.0", "--port", "3001"]

View File

@@ -7,3 +7,5 @@ services:
- "3001:3001" - "3001:3001"
env_file: env_file:
- .env - .env
environment:
- FASTMCP_HOST=0.0.0.0