The IBM Stock Trader loyalty level microservice with the unified data collector embedded.
208
The collector is not configured for an APM server in the image, but configuration can be passed via environment variables using docker run or a kubernetes configmap. The following configuration variables are available:
| Variable name | Possible values | Description |
|---|---|---|
| APM_BM_GATEWAY_URL | https://server_ip_or_hostname:443 http://server_ip_or_hostname | The URL of the target Cloud APM server. |
| APM_KEYFILE_PSWD | Base64-encoded password of the key file that is paired with the key file. Linux users can use the base64 command to encode the password. `echo password | base64` |
| APM_KEYFILE_URL | http://hosted_http_server:port/keyfile.jks | The URL to download the key file. Set this variable only when you configured the APM_BM_GATEWAY_URL variable to use HTTPS. |
| METHOD_TRACE_ENABLE | true false | Use this variable to enable or disable method tracing. The value of true enables method tracing. The default value is false. |
docker run -p 9080:9080 -d --name {containername} --env APM_BM_GATEWAY_URL=https://server_ip_or_hostname:443 --env APM_KEYFILE_URL=http://hosted_http_server:port/keyfile.jks --env APM_KEYFILE_PSWD=base64-encoded password --env METHOD_TRACE_ENABLE=true cruxdaemon/loyalty-level:apmdc
docker run -p 9080:9080 -d -name _containername_ -v {hostpath}/global.environment:/opt/ibm/wlp/usr/extension/liberty_dc/itcamdc/etc/global.environment cruxdaemon/loyalty-level:apmdc
apiVersion: v1
kind: ConfigMap
metadata:
name: apmdc-config
namespace: default
data:
APM_BM_GATEWAY_URL: https://server_ip_or_hostname:443
APM_KEYFILE_URL: http://hosted_http_server:port/keyfile.jks
APM_KEYFILE_PSWD: base64-encoded password
METHOD_TRACE_ENABLE: "true"
envFrom:
- configMapRef:
name: apmdc-config
Content type
Image
Digest
Size
239.2 MB
Last updated
about 8 years ago
docker pull cruxdaemon/loyalty-level:apmdc