forked from cloudfoundry/ibm-websphere-liberty-buildpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
119 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Configuration | ||
============= | ||
|
||
Buildpack configuration can be overridden with an environment variable matching the [configuration file](../config) you wish to override minus the `.yml` extension and with a prefix of `JBP_CONFIG`. The value of the variable should be valid inline yaml. For example: | ||
|
||
1. Configure the buildpack to use [Liberty profile](container-liberty.md) beta: | ||
|
||
```bash | ||
cf set-env myApplication JBP_CONFIG_LIBERTY '[version: 2015.+]' | ||
``` | ||
|
||
1. Configure the buildpack to use [OpenJDK](open-jdk.md) 8: | ||
|
||
```bash | ||
cf set-env myApplication JBP_CONFIG_OPENJDK '[version: 1.8.+]' | ||
cf set-env myApplication JVM openjdk | ||
``` | ||
|
||
1. Disable [Spring Auto Reconfiguration](framework-spring-auto-reconfiguration.md): | ||
|
||
```bash | ||
cf set-env myApplication JBP_CONFIG_SPRINGAUTORECONFIGURATION '[enabled: false]' | ||
``` | ||
|
||
The environment variables can also be specified in the applications `manifest.yml` file. See the [Environment Variables][] documentation for more information. | ||
|
||
[Environment Variables]: http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html#env-block | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters