restore $PORT support, remove explicit ports mapping

The MCP agent assigns its own host port and sets $PORT. The app must
listen on $PORT for mc-proxy to reach it. Explicit Podman port mappings
in the service definition are ignored by the agent.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-27 17:01:29 -07:00
parent a94b92f7fd
commit 06d469abaf
2 changed files with 10 additions and 8 deletions

View File

@@ -9,10 +9,6 @@ kls = "Dockerfile"
[[components]]
name = "kls"
image = "mcr.svc.mcp.metacircular.net:8443/kls:v0.1.0"
network = "mcpnet"
user = "0:0"
restart = "unless-stopped"
ports = ["127.0.0.1:48000:3030", "100.95.252.120:48000:3030"]
volumes = ["/srv/kls:/srv/kls"]
cmd = ["-f", "/srv/kls/kls.conf"]