1 min readMar 19, 2019
I have never tried Spring Cloud Config before, but to get the environment variable in Spring Application (maybe in Spring Cloud Config too) you can create config properties like this
your.config.property=${ENV_VAR_NAME}
I have never tried Spring Cloud Config before, but to get the environment variable in Spring Application (maybe in Spring Cloud Config too) you can create config properties like this
your.config.property=${ENV_VAR_NAME}