bootstrap.yml 886 Bytes
Newer Older
葛齐林's avatar
葛齐林 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
server:
  port: 8300

  
spring:
  application:
    name: microservice-oauth2
  cloud:
    config:
      enabled: false

eureka:
  client:
    fetch-registry: true
    registry-fetch-interval-seconds: 8
    healthcheck:
      enabled: true
    serviceUrl:
      defaultZone: http://user:password123@eureka:8761/eureka
  instance:
    lease-renewal-interval-in-seconds: 4
    lease-expiration-duration-in-seconds: 12
    prefer-ip-address: true
    instance-id: ${spring.cloud.client.ip-address}:${spring.application.instance_id:${server.port}}

  
#logging:
#  level:
#    org.springframework: info
    
suntray:
  security:
    oauth2:
      storeType: jwt
      jwtSigningKey: suntray
      clients[0]:
        clientId: suntray
        clientSecret: suntray
      clients[1]:
        clientId: professional
        clientSecret: professional