From 2fcd97552d16718cc7997629fd637a73a5a4483f Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:44:19 +0800 Subject: [PATCH] 删除 --- src/main/resources/application-prod.yml | 91 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 91 insertions(+), 0 deletions(-) diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml new file mode 100644 index 0000000..d7a3c9f --- /dev/null +++ b/src/main/resources/application-prod.yml @@ -0,0 +1,91 @@ +# server +server: + tomcat: + uri-encoding: UTF-8 + basedir: /tmp/tomcat + port: 8103 + servlet: + context-path: / + +# mysql 多数据源 +spring: + datasource: + one: + url: jdbc:mysql://sinanoaq.com:23306/firework?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai + username: root + password: NMS@uss20201! + type: com.alibaba.druid.pool.DruidDataSource + #redis + redis: + database: 0 + host: 127.0.0.1 + port: 6379 + password: root + jedis: + pool: + max-idle: 8 + max-active: 8 + max-wait: -1ms + min-idle: 0 + +host: http://localhost:8103 + +filePath: /home/uploadfire/ +fileurl: https://sinanoaq.com:8100/upload/ +socketport: 504 + +sqlPath: /opt/dbback/ +sqlurl: https://sinanoaq.com:8100/dbback/ + +enterprisePath: /home/uploadfire/enterprise/ +enterpriseUrl: https://sinanoaq.com:8100/upload/enterprise/ + +contractPath: /home/uploadfire/contract/ +contractUrl: https://sinanoaq.com:8100/upload/contract/ + +transportCertificatePath: /home/uploadfire/transportCertificate/ +transportCertificateUrl: https://sinanoaq.com:8100/upload/transportCertificate/ + +hiddenDangerPath: /home/uploadfire/hiddenDanger/ +hiddenDangerUrl: https://sinanoaq.com:8100/upload/hiddenDanger/ + +standardPath: /home/uploadfire/standard/ +standardUrl: https://sinanoaq.com:8100/upload/standard/ + + +enterprise: enterprise/ +transportCertificate: transportCertificate/ +hiddenDanger: hiddenDanger/ +standard: standard/ +contract: contract/ +assessApply: assessApply/ +customer: customer/ + + + +patrolPath: /home/uploadfire/patrol/ +patrolUrl: https://sinanoaq.com:8100/upload/patrol/ + +appPath: /home/uploadfire/app/ +appUrl: https://sinanoaq.com:8100/upload/app/ + +productPath: /home/uploadfire/product/ +productUrl: https://sinanoaq.com:8100/upload/product/ + +customerPath: /home/uploadfire/customer/ +customerUrl: https://sinanoaq.cn:8100/upload/customer/ + +#控制线程是否执行 true:执行;false:不执行 +scheduling: + enabled: true +historystock.robot: + enabled: true + +assessApplyPath: /home/uploadfire/assessApply/ +assessApplyUrl: https://sinanoaq.com:8100/upload/assessApply/ + +com.gk.firework.schedules.all.switch: true + +com.gk.firework.schedules.single.switch: false + +hostId: 01 -- Gitblit v1.9.2