yirenyishi
7 years ago
2 changed files with 66 additions and 0 deletions
@ -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}} |
@ -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}} |
Loading…
Reference in new issue