Skip to content

Add ability to pass in custom Java Options#8

Open
Sufyaan-Kazi wants to merge 6 commits into
jorgemoralespou:masterfrom
Sufyaan-Kazi:master
Open

Add ability to pass in custom Java Options#8
Sufyaan-Kazi wants to merge 6 commits into
jorgemoralespou:masterfrom
Sufyaan-Kazi:master

Conversation

@Sufyaan-Kazi

Copy link
Copy Markdown

Added ability to pass in custom Java options, e.g. for activating different Spring Boot Profiles. This allows an app e.g. to run in detached mode on a laptop standalone not on Openshift or Minishift - yet alternatively run on Openshift too for example to read env vars for accessing db credentials.

example project: https://github.com/Sufyaan-Kazi/spring-boot-cities-service/tree/openshift

@Sufyaan-Kazi

Copy link
Copy Markdown
Author

Hi, I've added the ability to supply custom jvm options to allow different spring boot profiles ot be selected, which means the app can be run within openshift or standlaone, yet still function. e.g. -Dspring.profiles.active=local or -Dspring.profiles.active=oshift

@tiagomtotti

Copy link
Copy Markdown

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants