Configuration
All configuration has to be applied through environment variable. This is the full list of all supported Variables and its defaults.
variable | required | default value | supported since | description |
---|---|---|---|---|
license | YES | n/a | 2.0 | license key |
jco__client__ashost | YES | n/a | 2.0 | host name of the SAP system. |
jco__client__user | YES | n/a | 2.0 | SAP username. |
jco__client__passwd | YES | n/a | 2.0 | SAP user password. |
PORT | NO | 8080 | 2.0 | internal port the HTTP server is listening on. |
jco__client__client | NO | 000 | 2.0 | SAP client number. |
jco__client__sysnr | NO | 00 | 2.0 | SAP system number. |
jco__destination__pool_capacity | NO | 10 | 2.0 | connection pool size, also determines the thread count of the HTTP server. |
jco__client__lang | NO | en | 2.0 | SAP session language |
log_config | NO | INFO | 2.0 | log4j log level |
auth_user | NO | n/a | 2.1 | username for the basic authentication (authentication is disabled if empty) |
auth_pwd | NO | n/a | 2.1 | password for the basic authentication (authentication is disabled if empty) |
You can use any of the available JCO Parameters described in the JCO documentation as environment parameter.
Simply replace all dots in the parameters with 2 underscores “__” and set them as environment variable for the container.
JCo driver
In addition to the environment variables, it is also required to bind a volume with the SAP JCo driver present. This can be done through the -v
parameter.
e.g.
docker run -v "$(pwd)"/sapjco3-linuxx86_64-3.0.18:/opt/callable/lib gcr.io/openapi4sap/callable