adding profiles on bootstrap.yml level
This commit is contained in:
		| @@ -1,9 +1,7 @@ | ||||
| #environment: | ||||
| eureka.client.service-url.defaultZone=http://netflix:eureka@localhost:8761/eureka/ | ||||
|  | ||||
| server.port = 8097 | ||||
| spring.application.name = klaus | ||||
| spring.cloud.discovery.enabled=true | ||||
| eureka.client.service-url.defaultZone=http://netflix:eureka@localhost:8761/eureka/ | ||||
| spring.cloud.config.discovery.service-id = klaus-config-service | ||||
| #spring.cloud.config.fail-fast=true | ||||
| #spring.cloud.config.username = SpringConfigUsername | ||||
|   | ||||
| @@ -1,4 +1,6 @@ | ||||
| spring: | ||||
|   profiles: | ||||
|     active: DEV | ||||
|   application: | ||||
|     name: klaus | ||||
|   cloud: | ||||
| @@ -10,4 +12,3 @@ spring: | ||||
|             max-attempts: 20 | ||||
|             max-interval: 15000 | ||||
|             initial-interval: 10000 | ||||
|  | ||||
|   | ||||
| @@ -1,2 +1,2 @@ | ||||
| redis.host = localhost | ||||
| redis.host = redis | ||||
| redis.port = 6379 | ||||
		Reference in New Issue
	
	Block a user
	 Szakalakamaka
					Szakalakamaka