Commit 8ec5c251 authored by weface's avatar weface

环境配置

parent eb1e12b4
...@@ -3,9 +3,9 @@ spring: ...@@ -3,9 +3,9 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
druid: druid:
driver-class-name: com.mysql.cj.jdbc.Driver driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai url: jdbc:mysql://rm-uf6w14h3ark4z3pwxlo.mysql.rds.aliyuncs.com/kk_demain_db?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
username: renren username: kk_demain_user
password: 123456 password: KkWeface0228
initial-size: 10 initial-size: 10
max-active: 100 max-active: 100
min-idle: 10 min-idle: 10
......
...@@ -6,15 +6,16 @@ server: ...@@ -6,15 +6,16 @@ server:
uri-encoding: UTF-8 uri-encoding: UTF-8
max-threads: 1000 max-threads: 1000
min-spare-threads: 30 min-spare-threads: 30
connection-timeout: 5000ms
port: 8080 port: 8080
connection-timeout: 5000ms
spring: spring:
application: application:
name: service-web name: service-web
# 环境 dev|test|prod # 环境 dev|test|prod
profiles: profiles:
active: dev active: prod
# jackson时间格式化 # jackson时间格式化
jackson: jackson:
time-zone: GMT+8 time-zone: GMT+8
...@@ -27,7 +28,7 @@ spring: ...@@ -27,7 +28,7 @@ spring:
mvc: mvc:
throw-exception-if-no-handler-found: true throw-exception-if-no-handler-found: true
redis: redis:
host: localhost host: 172.21.6.6
database: 0 database: 0
port: 6379 port: 6379
maxTotal: 1000 maxTotal: 1000
...@@ -63,5 +64,5 @@ mybatis-plus: ...@@ -63,5 +64,5 @@ mybatis-plus:
jdbc-type-for-null: 'null' jdbc-type-for-null: 'null'
gexiang: gexiang:
user_tag_id: 400000 user_tag_id: 251696
push_max_size: 30000 push_max_size: 80000
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment