Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
How to switch datasource url - spring profile part
  • Loading branch information
slem1 committed Oct 31, 2017
1 parent f84df5e commit ccf5ce2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
@@ -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.username=testhowto
spring.datasource.password=testhowto spring.datasource.password=testhowto
spring.datasource.driver-class-name=org.postgresql.Driver spring.datasource.driver-class-name=org.postgresql.Driver

0 comments on commit ccf5ce2

Please sign in to comment.