Forcing MongoDB to Listen to a Random Port

This commit is contained in:
Ali Dehghani
2020-03-12 16:44:29 +03:30
parent 0a08a627ea
commit 2ff3ea934f

View File

@@ -3,7 +3,7 @@ server.port=8082
#spring boot mongodb
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.port=0
spring.data.mongodb.database=springboot-mongo
spring.thymeleaf.cache=false