portfolio
The IBM Stock Trader portfolio microservice with the unified data collector embedded.
1M+
The collector is not configured for an APM server in the image, but configuration can be passed with 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 or 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. | Set this variable only when you configured the APM_BM_GATEWAY_URL variable to use HTTPS. |
| 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/portfolio: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/portfolio: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
326.3 MB
Last updated
over 6 years ago
docker pull cruxdaemon/portfolio:icam