Skip to content

Commit

Permalink
Add configserver
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Syer committed Jul 16, 2014
1 parent f75d26e commit 9c89097
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#*
*#
.??*#
*~

11 changes: 5 additions & 6 deletions application.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
spring:
profiles: cloud
application:
domain: 23.23.221.131.xip.io
spring:
profiles: cloud
platform:
config:
uri: http://${spring.application.name}.${application.domain:cfapps.io}
eureka:
instance:
hostname: ${spring.application.name}.${application.domain:cfapps.io}
nonSecurePort: 80
service:
definition:
metadata:
uri: http://${spring.application.name}.${application.domain:cfapps.io}
7 changes: 7 additions & 0 deletions configserver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
spring:
profiles: cloud
service:
definition:
metadata:
uri: http://${spring.application.name}.${application.domain:cfapps.io}

0 comments on commit 9c89097

Please sign in to comment.