2026-04-04 18:04:42 +02:00
|
|
|
FROM eclipse-temurin:21-jre-alpine
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
# Agent JAR is copied during CI build from Gitea Maven registry
|
|
|
|
|
# ARG AGENT_JAR=cameleer3-agent-1.0-SNAPSHOT-shaded.jar
|
|
|
|
|
COPY agent.jar /app/agent.jar
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT exec java \
|
|
|
|
|
-Dcameleer.export.type=${CAMELEER_EXPORT_TYPE:-HTTP} \
|
2026-04-08 22:06:48 +02:00
|
|
|
-Dcameleer.export.endpoint=${CAMELEER_SERVER_URL} \
|
2026-04-04 18:04:42 +02:00
|
|
|
-Dcameleer.agent.name=${HOSTNAME} \
|
|
|
|
|
-Dcameleer.agent.application=${CAMELEER_APPLICATION_ID:-default} \
|
|
|
|
|
-Dcameleer.agent.environment=${CAMELEER_ENVIRONMENT_ID:-default} \
|
|
|
|
|
-Dcameleer.routeControl.enabled=${CAMELEER_ROUTE_CONTROL_ENABLED:-false} \
|
|
|
|
|
-Dcameleer.replay.enabled=${CAMELEER_REPLAY_ENABLED:-false} \
|
|
|
|
|
-Dcameleer.health.enabled=true \
|
|
|
|
|
-Dcameleer.health.port=9464 \
|
|
|
|
|
-javaagent:/app/agent.jar \
|
|
|
|
|
-jar /app/app.jar
|