Created
March 6, 2017 16:07
-
-
Save allenhuang/d21374b3427d4c00898c572c3bafeb49 to your computer and use it in GitHub Desktop.
Sample config file for Spring Boot executable jar
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
DEV_RANDOM='java.security.egd=file:/dev/./urandom' | |
DB_URL='spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/mydb' | |
SERVER_PORT='server.port=8888' | |
IPV4STACK='java.net.preferIPv4Stack=true' | |
IPV4ADDRESS='java.net.preferIPv4Addresses=true' | |
JAVA_OPTS="-D${IPV4STACK} -D${IPV4ADDRESS} -D${DEV_RANDOM} -D${DB_URL} -D${DEV_RANDOM}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment