Skip to content

Commit

Permalink
Merge pull request OpenLiberty#4 from brenthdaniel/master
Browse files Browse the repository at this point in the history
Update README
  • Loading branch information
brenthdaniel authored Nov 14, 2019
2 parents 4415fe5 + c18cd0c commit e661e29
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,34 +50,41 @@ Environment variables to be used at s2i build time
--------------------------------------------------
The following environment variables can be passed to the S2I build process to customize Open Liberty. More information on these variables and the functions they enable can be found at https://github.com/OpenLiberty/ci.docker

* `DEPLOY_TO_APPS`
* Description: When true, applicaton binaries will be copied to `apps` instead of `dropins`
* `HTTP_ENDPOINT`
* Decription: Add configuration properties for an HTTP endpoint.
* Description: Add configuration properties for an HTTP endpoint.
* XML Snippet Location: [http-ssl-endpoint.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/http-ssl-endpoint.xml) when SSL is enabled. Otherwise [http-endpoint.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/http-endpoint.xml)
* `MP_HEALTH_CHECK`
* Decription: Check the health of the environment using Liberty feature `mpHealth-1.0` (implements [MicroProfile Health](https://microprofile.io/project/eclipse/microprofile-health)).
* Description: Check the health of the environment using Liberty feature `mpHealth-1.0` (implements [MicroProfile Health](https://microprofile.io/project/eclipse/microprofile-health)).
* XML Snippet Location: [mp-health-check.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/mp-health-check.xml)
* `MP_MONITORING`
* Decription: Monitor the server runtime environment and application metrics by using Liberty features `mpMetrics-1.1` (implements [Microprofile Metrics](https://microprofile.io/project/eclipse/microprofile-metrics)) and `monitor-1.0`.
* Description: Monitor the server runtime environment and application metrics by using Liberty features `mpMetrics-1.1` (implements [Microprofile Metrics](https://microprofile.io/project/eclipse/microprofile-metrics)) and `monitor-1.0`.
* XML Snippet Location: [mp-monitoring.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/mp-monitoring.xml)
* Note: With this option, `/metrics` endpoint is configured without authentication to support the environments that do not yet support scraping secured endpoints.
* `TLS` or `SSL` (SSL is being deprecated)
* Decription: Enable Transport Security in Liberty by adding the `transportSecurity-1.0` feature (includes support for SSL).
* Description: Enable Transport Security in Liberty by adding the `transportSecurity-1.0` feature (includes support for SSL).
* XML Snippet Location: [keystore.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/keystore.xml).
* `IIOP_ENDPOINT`
* Decription: Add configuration properties for an IIOP endpoint.
* Description: Add configuration properties for an IIOP endpoint.
* XML Snippet Location: [iiop-ssl-endpoint.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/iiop-ssl-endpoint.xml) when SSL is enabled. Otherwise, [iiop-endpoint.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/iiop-endpoint.xml).
* Note: If using this option, `env.IIOP_ENDPOINT_HOST` environment variable should be set to the server's host. See [IIOP endpoint configuration](https://www.ibm.com/support/knowledgecenter/en/SSEQTP_liberty/com.ibm.websphere.liberty.autogen.base.doc/ae/rwlp_config_orb.html#iiopEndpoint) for more details.
* `JMS_ENDPOINT`
* Decription: Add configuration properties for an JMS endpoint.
* Description: Add configuration properties for an JMS endpoint.
* XML Snippet Location: [jms-ssl-endpoint.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/jms-ssl-endpoint.xml) when SSL is enabled. Otherwise, [jms-endpoint.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/jms-endpoint.xml)
* `OIDC`
* Decription: Enable OpenIdConnect Client function by adding the `openidConnectClient-1.0` feature.
* Description: Enable OpenIdConnect Client function by adding the `openidConnectClient-1.0` feature.
* XML Snippet Location: [oidc.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/oidc.xml)
* `OIDC_CONFIG`
* Decription: Enable OpenIdConnect Client configuration to be read from environment variables.
* Description: Enable OpenIdConnect Client configuration to be read from environment variables.
* XML Snippet Location: [oidc-config.xml](https://github.com/OpenLiberty/ci.docker/tree/master/common/helpers/build/configuration_snippets/oidc-config.xml)
* Note: The following variables will be read: OIDC_CLIENT_ID, OIDC_CLIENT_SECRET, OIDC_DISCOVERY_URL.

Server Configuration
--------------------------------------------------

If you want to use your own server.xml file rather than the default, it should be present in the `src/main/liberty/config` directory.

OpenShift `oc` usage
--------------------

Expand Down

0 comments on commit e661e29

Please sign in to comment.