refactor: use CAMELEER_SERVER_URL for agent export endpoint
Some checks failed
CI / docker (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / deploy-feature (push) Has been cancelled
CI / cleanup-branch (push) Has been cancelled
CI / build (push) Has been cancelled

The runtime-base image and all agent Dockerfiles now read
CAMELEER_SERVER_URL instead of CAMELEER_EXPORT_ENDPOINT.
Updated the volume-mode entrypoint override to match.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-08 22:07:07 +02:00
parent 20f3dfe59d
commit 64ebf19ad3

View File

@@ -108,7 +108,7 @@ public class DockerRuntimeOrchestrator implements RuntimeOrchestrator {
createCmd.withEntrypoint("sh", "-c",
"exec java -javaagent:/app/agent.jar " +
"-Dcameleer.export.type=${CAMELEER_EXPORT_TYPE:-HTTP} " +
"-Dcameleer.export.endpoint=${CAMELEER_EXPORT_ENDPOINT} " +
"-Dcameleer.export.endpoint=${CAMELEER_SERVER_URL} " +
"-Dcameleer.agent.name=${HOSTNAME} " +
"-Dcameleer.agent.application=${CAMELEER_APPLICATION_ID:-default} " +
"-Dcameleer.agent.environment=${CAMELEER_ENVIRONMENT_ID:-default} " +