ソースを参照

更新生产配置

master
xiaohanzi 4年前
コミット
c53ddd22d5
1個のファイルの変更21行の追加11行の削除
  1. +21
    -11
      mlWechatOpen/src/main/resources/application-prod.yml

+ 21
- 11
mlWechatOpen/src/main/resources/application-prod.yml ファイルの表示

@@ -1,11 +1,11 @@
spring:
profiles:
include: rocketMQ
include: aliyunRocketMQ
# JDBC
datasource:
url: jdbc:mysql://formalldb.cfqyqflkdlit.rds.cn-northwest-1.amazonaws.com.cn:3306/mallink?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
username: ENC(NUzgQOdJnCbVLKT6BaX0aw==)
password: ENC(mvuoDRiu0jqYaKNRwwTuXZ6U7aoIaqsjdiPqTLgi/nY=)
url: jdbc:mysql://zc349w82qvn56ftl5e64-rw4rm.rwlb.rds.aliyuncs.com:3306/mallink?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true
username: ENC(nUefcxWYlMS/1cDxikIKwA==)
password: ENC(neToS+hzeFjgSFB/7UEl5qYnW2rUjrPq)
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
filters: stat
@@ -24,9 +24,9 @@ spring:
connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000"
# REDIS
redis:
host: 127.0.0.1
host: 101.201.103.81
port: 6379
password: ENC(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=)
password: ENC(KD+AiEPSefoV6aKm5qchSASXFGijMzHL)
timeout: 3600
expire: 1800 #30分钟
database: 1
@@ -37,11 +37,21 @@ spring:
max-idle: 8
max-wait: -1
min-idle: 0
# SMS
aliyun:
sms:
accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V
accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry
product: Dysmsapi
domain: dysmsapi.aliyuncs.com
regionId: cn-hangzhou
dateFormat: yyyyMMdd
endpointName: cn-hangzhou
# EMAIL
mail:
host: smtp.exmail.qq.com
username: ENC(IiL/PHP9wCkpibWHRH/Mts8K9fh4izYqaiaF66bDrqtEHP+KUcJRRg==)
password: ENC(m7L57m8mk6tApVoa4XIDQnXF0VxnYjKe4LVdzcgb+xY=) # 授权密码
username: zhengfangyuan@iformall.com
password: xnydCeUzofB2h8qp # 授权密码
properties:
mail:
smtp:
@@ -65,9 +75,9 @@ wechat:
componentToken: ENC(rkxj0733WxFFDLgA9x01m2s5Fi2L+0PC)
componentAesKey: ENC(EIbJUBpbYOrLb4YQ/HXLQmxlxgAqIp2ZmpnGICC8pu5xiTz3Cqfkbwd2S8raCcK/IvYcX2GmedI=)
redis:
host: 127.0.0.1
host: 101.201.103.81
port: 6379
password: ENC(8gYU47Fu93NUJPhwPCiPbAT+6VFA1YDx1egK4Z0Nl6w=)
password: ENC(KD+AiEPSefoV6aKm5qchSASXFGijMzHL)
timeout: 3600
expire: 1800 #30分钟
database: 2
@@ -84,7 +94,7 @@ fm:
exception_emails: houtaikaifa@iformall.com
audit_emails: xiaochengxufabu@iformall.com
deploy: 3
upload_dir: /home/ec2-user/server/uploads/
upload_dir: /root/uploads/

logging:
level:


読み込み中…
キャンセル
保存