feat: Add MCP service configuration with volumes and debugging port

This commit is contained in:
Nawaz Dhandala
2025-12-16 11:24:29 +00:00
parent 5eca1a5d04
commit f92a109f3d

View File

@@ -394,7 +394,23 @@ services:
context: .
dockerfile: ./IncomingRequestIngest/Dockerfile
mcp:
volumes:
- ./MCP:/usr/src/app:cached
# Use node modules of the container and not host system.
# https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder
- /usr/src/app/node_modules/
- ./Common:/usr/src/Common:cached
- /usr/src/Common/node_modules/
ports:
- '9945:9229' # Debugging port.
extends:
file: ./docker-compose.base.yml
service: mcp
build:
network: host
context: .
dockerfile: ./MCP/Dockerfile
# Fluentd. Required only for development. In production its the responsibility of the customer to run fluentd and pipe logs to OneUptime.
# We run this container just for development, to see if logs are piped.