Skip to content

Commit

Permalink
Use vcap.application.uris in cloud profile
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Jun 2, 2015
1 parent 90a65e0 commit f0ece00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ endpoints:
eureka:
password: password
instance:
hostname: ${PREFIX:}${spring.application.name}.${application.domain:cfapps.io}
hostname: ${vcap.application.uris[0]:localhost}
nonSecurePort: 80
client:
serviceUrl:
Expand Down

0 comments on commit f0ece00

Please sign in to comment.