Skip to content

Instantly share code, notes, and snippets.

@cvicens
Created November 28, 2019 09:23
Show Gist options
  • Save cvicens/5b1ae76db965782591d3abe9e169f723 to your computer and use it in GitHub Desktop.
Save cvicens/5b1ae76db965782591d3abe9e169f723 to your computer and use it in GitHub Desktop.
#!/bin/sh
export PROJECT_NAME="fruits-97"
export MY_DATABASE_SERVICE_HOST="my-database.${PROJECT_NAME}"
export MY_DATABASE_SERVICE_PORT=5432
export DB_USERNAME=luke
export DB_PASSWORD=secret
mvn spring-boot:run -Dspring-boot.run.profiles=openshift -Popenshift -DskipTests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment