Make port customizable from env variable (#8288)

This commit is contained in:
Shrikant Sharat Kandula 2021-10-07 17:02:49 +05:30 committed by GitHub
parent 5bdb530f53
commit a13f674752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
server.port=${PORT:8080}
# This property allows us to override beans during testing. This is useful when we want to set different configurations
# and different parameters during test as compared to production. If this property is disabled, some tests will fail.
spring.main.allow-bean-definition-overriding=true