From de86a39b10990b70305ceae3056dfaa4c631cf01 Mon Sep 17 00:00:00 2001 From: yasaka Date: Fri, 22 Jun 2018 12:20:02 +0800 Subject: [PATCH] add sc-provider --- sc-provider/application-csdn.yml | 2 ++ sc-provider/application-dev.yml | 28 ++++++++++++++++++++++++++ sc-provider/application-production.yml | 24 ++++++++++++++++++++++ sc-provider/application-test.yml | 28 ++++++++++++++++++++++++++ 4 files changed, 82 insertions(+) create mode 100644 sc-provider/application-csdn.yml create mode 100644 sc-provider/application-dev.yml create mode 100644 sc-provider/application-production.yml create mode 100644 sc-provider/application-test.yml diff --git a/sc-provider/application-csdn.yml b/sc-provider/application-csdn.yml new file mode 100644 index 0000000..4d372c2 --- /dev/null +++ b/sc-provider/application-csdn.yml @@ -0,0 +1,2 @@ +server: + port: 8100 \ No newline at end of file diff --git a/sc-provider/application-dev.yml b/sc-provider/application-dev.yml new file mode 100644 index 0000000..1c30950 --- /dev/null +++ b/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 \ No newline at end of file diff --git a/sc-provider/application-production.yml b/sc-provider/application-production.yml new file mode 100644 index 0000000..0e53137 --- /dev/null +++ b/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 \ No newline at end of file diff --git a/sc-provider/application-test.yml b/sc-provider/application-test.yml new file mode 100644 index 0000000..59f1b88 --- /dev/null +++ b/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 \ No newline at end of file