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