Fix YAML formatting in README for mcp servers (#7)

nodes under services must be indented. "docker compose up -d" fails with error "services must be a mapping" if not
This commit is contained in:
oharvey2090
2025-10-30 16:34:49 -07:00
committed by GitHub
parent fb1c50f3fa
commit 6a251c4e9d

View File

@@ -941,7 +941,7 @@ mcp-proxy is a server proxy that allows switching between transports (stdio to s
2. Enter the following: 2. Enter the following:
```yaml ```yaml
services: services:
mcp-proxy: mcp-proxy:
container_name: mcp-proxy container_name: mcp-proxy
build: build:
context: . context: .
@@ -957,7 +957,7 @@ mcp-proxy is a server proxy that allows switching between transports (stdio to s
command: "--pass-environment --port=3131 --host 0.0.0.0 --transport streamablehttp --named-server-config /config/servers.json" command: "--pass-environment --port=3131 --host 0.0.0.0 --transport streamablehttp --named-server-config /config/servers.json"
networks: networks:
app-net: app-net:
external: true external: true
``` ```
@@ -1038,7 +1038,7 @@ MCPJungle is another MCP proxy server with a different focus. It focuses on prov
# Use this compose file if you want to run MCPJungle locally for your personal MCP management & Gateway. # Use this compose file if you want to run MCPJungle locally for your personal MCP management & Gateway.
# The mcpjungle server runs in development mode. # The mcpjungle server runs in development mode.
services: services:
db: db:
image: postgres:latest image: postgres:latest
container_name: mcpjungle-db container_name: mcpjungle-db
environment: environment:
@@ -1058,7 +1058,7 @@ MCPJungle is another MCP proxy server with a different focus. It focuses on prov
retries: 5 retries: 5
restart: unless-stopped restart: unless-stopped
mcpjungle: mcpjungle:
image: mcpjungle/mcpjungle:${MCPJUNGLE_IMAGE_TAG:-latest-stdio} image: mcpjungle/mcpjungle:${MCPJUNGLE_IMAGE_TAG:-latest-stdio}
container_name: mcpjungle-server container_name: mcpjungle-server
environment: environment:
@@ -1085,7 +1085,7 @@ MCPJungle is another MCP proxy server with a different focus. It focuses on prov
db_data: db_data:
networks: networks:
app-net: app-net:
external: true external: true
``` ```