yirenyishi преди 7 години
родител
ревизия
66ec8abb98
  1. 33
      application.yml
  2. 33
      springcloud-provider-config/application.yml

33
application.yml

@ -0,0 +1,33 @@
server:
port: 8101
# context-path: /provider
spring:
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
hibernate:
ddl-auto: update
datasource:
druid:
url: jdbc:mysql://localhost:3306/spcloud
username: root
password: booszy
application:
name: springcloud-provider
logging:
level:
root: info
org.hibernate : info
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.hibernate.type.descriptor.sql.BasicExtractor: TRACE
com.yasaka.stock : debug
eureka:
client:
healthcheck:
enabled: true
service-url:
defaultZone: http://root:booszy@localhost:8761/eureka
instance:
# home-page-url-path: /provider
prefer-ip-address: true
instance-id: ${spring.application.name}:${spring.cloud.client.ipAddress}:${spring.application.instance_id:${server.port}}

33
springcloud-provider-config/application.yml

@ -0,0 +1,33 @@
server:
port: 8101
# context-path: /provider
spring:
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
hibernate:
ddl-auto: update
datasource:
druid:
url: jdbc:mysql://localhost:3306/spcloud
username: root
password: booszy
application:
name: springcloud-provider
logging:
level:
root: info
org.hibernate : info
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
org.hibernate.type.descriptor.sql.BasicExtractor: TRACE
com.yasaka.stock : debug
eureka:
client:
healthcheck:
enabled: true
service-url:
defaultZone: http://root:booszy@localhost:8761/eureka
instance:
# home-page-url-path: /provider
prefer-ip-address: true
instance-id: ${spring.application.name}:${spring.cloud.client.ipAddress}:${spring.application.instance_id:${server.port}}
Зареждане…
Отказ
Запис