fix(agentgateway): correct admin port binding and healthcheck command path

This commit is contained in:
Sun-ZhenXing
2026-02-26 11:51:24 +08:00
parent 7e14b01b78
commit e8d50357ea

View File

@@ -12,7 +12,7 @@ services:
image: ${GLOBAL_REGISTRY:-}cr.agentgateway.dev/agentgateway:${AGENTGATEWAY_VERSION:-0.11.2}
ports:
- '${AGENTGATEWAY_PORT_OVERRIDE:-3000}:3000'
- '127.0.0.1:${AGENTGATEWAY_ADMIN_PORT_OVERRIDE:-15000}:15000'
- '${AGENTGATEWAY_ADMIN_PORT_OVERRIDE:-15000}:15000'
volumes:
- ./config.yaml:/config.yaml:ro
environment:
@@ -20,7 +20,7 @@ services:
- ADMIN_ADDR=${AGENTGATEWAY_ADMIN_ADDR:-0.0.0.0:15000}
command: [-f, /config.yaml]
healthcheck:
test: [CMD, agentgateway, --version]
test: [CMD, /app/agentgateway, --version]
interval: 30s
timeout: 10s
retries: 3