|
|
|
|
@ -10,7 +10,11 @@ services:
|
|
|
|
|
mcp: |
|
|
|
|
build: |
|
|
|
|
context: . |
|
|
|
|
network: host |
|
|
|
|
# BUILD_NETWORK=host in .env for hosts where the default docker bridge has |
|
|
|
|
# no egress (see README troubleshooting). Default (bridge) works everywhere |
|
|
|
|
# else; buildx refuses `network: host` builds unless the network.host |
|
|
|
|
# entitlement is granted, which `docker compose build` cannot pass. |
|
|
|
|
network: ${BUILD_NETWORK:-default} |
|
|
|
|
image: chodak166/mcp-supergateway:latest |
|
|
|
|
container_name: mcp-gateway |
|
|
|
|
ports: |
|
|
|
|
@ -37,7 +41,11 @@ services:
|
|
|
|
|
mcp-codebase-index: |
|
|
|
|
build: |
|
|
|
|
context: . |
|
|
|
|
network: host |
|
|
|
|
# BUILD_NETWORK=host in .env for hosts where the default docker bridge has |
|
|
|
|
# no egress (see README troubleshooting). Default (bridge) works everywhere |
|
|
|
|
# else; buildx refuses `network: host` builds unless the network.host |
|
|
|
|
# entitlement is granted, which `docker compose build` cannot pass. |
|
|
|
|
network: ${BUILD_NETWORK:-default} |
|
|
|
|
image: chodak166/mcp-supergateway:latest |
|
|
|
|
container_name: mcp-codebase-index |
|
|
|
|
# Run as the image's `node` user (uid 1000) so index data written into the |
|
|
|
|
|