Skip to content
Permalink
Browse files

How to switch datasource url - spring profile part

  • Loading branch information...
slem1 committed Oct 24, 2017
1 parent f84df5e commit ccf5ce2d6c88b336566cbc487d8842acc59c597c
@@ -0,0 +1 @@
spring.datasource.url=jdbc:postgresql://[MY_SERVER_IP]:5432/testhowto
@@ -0,0 +1 @@
spring.datasource.url=jdbc:postgresql://localhost:5432/testhowto
@@ -1,4 +1,5 @@
spring.datasource.url=jdbc:postgresql://localhost:5432/testhowto
spring.profiles.active=@spring.profiles.active@
#spring.datasource.url=jdbc:postgresql://localhost:5432/testhowto
spring.datasource.username=testhowto
spring.datasource.password=testhowto
spring.datasource.driver-class-name=org.postgresql.Driver

0 comments on commit ccf5ce2

Please sign in to comment.
You can’t perform that action at this time.