Skip to content

Instantly share code, notes, and snippets.

@lynas
Created November 27, 2019 10:33
Show Gist options
  • Save lynas/2f271abd27e6e7d8c6f6583d9b2fd1a4 to your computer and use it in GitHub Desktop.
Save lynas/2f271abd27e6e7d8c6f6583d9b2fd1a4 to your computer and use it in GitHub Desktop.
Run boot jar with external config application.properties
❯ java -jar build/libs/demo-0.0.1-SNAPSHOT.jar --spring.config.location=file:///tmp/application.properties [16:31:02]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment