The MCP agent sets $PORT from the route, but the Podman port mapping expects the container to listen on the config-defined port (3030). Remove $PORT override to avoid the mismatch. Also restore ports, network, and user fields in the service definition. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
409 B
TOML
22 lines
409 B
TOML
name = "kls"
|
|
node = "rift"
|
|
active = true
|
|
path = "../kls"
|
|
|
|
[build.images]
|
|
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"]
|
|
|
|
[[components.routes]]
|
|
port = 443
|
|
mode = "l7"
|