Load application properties from <name>.yml

(also try config/<name>.yml). In this way user can easily launch config
server with custom uri, h2 with custom tcp endpoints, etc. The local
app deployer puts these properties in sys env vars (a bit yuck), but
that's not in our control here.
This commit is contained in:
Dave Syer
2016-08-15 15:34:52 +01:00
parent 0ca734895c
commit 1a28da5d83
2 changed files with 96 additions and 30 deletions

View File

@@ -9,7 +9,8 @@ eureka:
defaultZone: http://localhost:8761/eureka/
endpoints:
restart: enabled
restart:
enabled: true
ribbon:
ConnectTimeout: 3000