Browse Source

add sc-provider

master
yasaka 6 years ago
parent
commit
de86a39b10
  1. 2
      sc-provider/application-csdn.yml
  2. 28
      sc-provider/application-dev.yml
  3. 24
      sc-provider/application-production.yml
  4. 28
      sc-provider/application-test.yml

2
sc-provider/application-csdn.yml

@ -0,0 +1,2 @@
server:
port: 8100

28
sc-provider/application-dev.yml

@ -0,0 +1,28 @@
spring:
redis:
host: 172.17.0.1
#assword: 123456
port: 6379
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
hibernate:
ddl-auto: update
datasource:
druid:
url: jdbc:mysql://13.58.87.174:3306/spcloud
username: root
password: booszy
application:
name: springcloud-provider-config
profiles:
active: production
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
server:
port: 8100

24
sc-provider/application-production.yml

@ -0,0 +1,24 @@
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-config
profiles:
active: production
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
server:
port: 8100

28
sc-provider/application-test.yml

@ -0,0 +1,28 @@
spring:
# redis:
# host: 172.17.0.1
# #assword: 123456
# port: 6379
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
hibernate:
ddl-auto: update
datasource:
druid:
url: jdbc:mysql://13.58.87.174:3306/spcloud
username: root
password: booszy
application:
name: springcloud-provider-config
profiles:
active: test
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
server:
port: 8100
Loading…
Cancel
Save