Handle Multiple Environments in Properties file | application.yml | Spring boot | Eclipse

Published: 29 July 2020
on channel: HowToCode
12,131
79

This Video will explain you how to handle multiple environments in a spring boot project. in Eclipse IDE.

Please share your valuable feedback and Quires in comment box.

Click to Subscribe the Channel:    • Handle Multiple Environments in Prope...  

Sample application.yml:
project:
version: @project.version@
server:
port: 8081
spring:
data:
mongodb:
database: user-management
profiles:
active: dev


---
spring:
profiles: dev
data:
mongodb:
uri: mongodb://localhost:27017
user:
swagger:
baseurl: /user

---
spring:
profiles: stg
data:
mongodb:
uri: mongodb://stg.how3do.com:Password@13.12.1.9:27017

---
spring:
profiles: prod
data:
mongodb:
uri: mongodb://prod-url:Password@IP:27017




#PropertiesEnvironments
#application.yml
#HowToCode


On this page of the site you can watch the video online Handle Multiple Environments in Properties file | application.yml | Spring boot | Eclipse with a duration of hours minute second in good quality, which was uploaded by the user HowToCode 29 July 2020, share the link with friends and acquaintances, this video has already been watched 12,131 times on youtube and it was liked by 79 viewers. Enjoy your viewing!