Browse Source

fix(线上环境env)

gengyang 5 năm trước cách đây
mục cha
commit
3aa9110eb2

+ 14 - 12
src/main/resources/application-prod.properties

@@ -1,21 +1,22 @@
 server.port=8085
 server.port=8085
 
 
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
 spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
-spring.datasource.url=jdbc:mysql://rm-uf618jc32u2o80g55oo.mysql.rds.aliyuncs.com:3306/mochat?serverTimezone=Asia/Shanghai
-spring.datasource.username=typer
-spring.datasource.password=jch9sh_shl
+spring.datasource.url=jdbc:mysql://rm-uf6s9smcl373jjencoo.mysql.rds.aliyuncs.com:3306/mochat?serverTimezone=Asia/Shanghai
+spring.datasource.username=mochat
+spring.datasource.password=MoChat666$%MOchaT
 spring.datasource.max-idle=10
 spring.datasource.max-idle=10
 spring.datasource.max-wait=10000
 spring.datasource.max-wait=10000
 spring.datasource.min-idle=5
 spring.datasource.min-idle=5
 spring.datasource.initial-size=5
 spring.datasource.initial-size=5
 
 
+
 mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
 mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
 mybatis-plus.configuration.map-underscore-to-camel-case=true
 mybatis-plus.configuration.map-underscore-to-camel-case=true
 
 
-spring.redis.host=r-uf633f3f27aa2174pd.redis.rds.aliyuncs.com
+spring.redis.host=r-uf6k0vhplkv7otzrjd.redis.rds.aliyuncs.com
 spring.redis.port=6379
 spring.redis.port=6379
-spring.redis.password=Jch9shshl
-spring.redis.database=7
+spring.redis.password=MoChat_RediS666$%MOchaT_Rd
+spring.redis.database=2
 spring.redis.timeout=10s
 spring.redis.timeout=10s
 spring.redis.jedis.pool.min-idle=0
 spring.redis.jedis.pool.min-idle=0
 spring.redis.jedis.pool.max-idle=8
 spring.redis.jedis.pool.max-idle=8
@@ -23,11 +24,11 @@ spring.redis.jedis.pool.max-active=20
 spring.redis.jedis.pool.max-wait=-1ms
 spring.redis.jedis.pool.max-wait=-1ms
 
 
 #阿里云oss配置(增加一个cdn地址配置)
 #阿里云oss配置(增加一个cdn地址配置)
-aliyun.host=http://mini-short-video-oss.lushenjin.cn/
-aliyun.endpoint=https://oss-cn-hangzhou.aliyuncs.com
-aliyun.accessKeyId=LTAI4FnmkS1SNFkaKb4YZ1ga
-aliyun.accessKeySecret=irLfHOni7ffLU3yAf3LsKEXwQLfrNc
-aliyun.bucketName=mini-short-video-test
+aliyun.host=https://mochat.mokamrp.com/
+aliyun.endpoint=https://oss-cn-shanghai-internal.aliyuncs.com
+aliyun.accessKeyId=LTAI5tSjiWcuctMEzxcKLB75
+aliyun.accessKeySecret=m7p2WBJXZuNon9stiuw494MnZQaT1N
+aliyun.bucketName=moka-mochat
 spring.servlet.multipart.max-request-size=10MB
 spring.servlet.multipart.max-request-size=10MB
 spring.servlet.multipart.max-file-size=10MB
 spring.servlet.multipart.max-file-size=10MB
 
 
@@ -36,5 +37,6 @@ xxl.sso.logout.path=/logout
 xxl-sso.excluded.paths=/healthy
 xxl-sso.excluded.paths=/healthy
 xxl.sso.redis.address=redis://xxl-sso:MokaSapce666$%25_RediS@r-uf6727zrr24ioihy72.redis.rds.aliyuncs.com:6379/0
 xxl.sso.redis.address=redis://xxl-sso:MokaSapce666$%25_RediS@r-uf6727zrr24ioihy72.redis.rds.aliyuncs.com:6379/0
 
 
-menu.host=http://test.space-server.mokamrp.com/space/menu/getMenuInterface?sysCode=1006&userId=
+menu.host=http://space-server-in-svc/space/menu/getMenuInterface?sysCode=1006&userId=
+