Commit d85156c4 authored by 耿迪迪's avatar 耿迪迪

配置修改 gengdidi

parent d95e129b
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 8908
servlet:
# 应用的访问路径
context-path: /dangerManage
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数,默认为200
max-threads: 800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
# 数据源配置
spring:
datasource:
......@@ -6,9 +21,9 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://36.138.181.113:3306/danger_manage_area_a?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: root
password: root@123
# 从库数据源
slave:
# 从数据源开关/默认关闭
......@@ -58,13 +73,13 @@ spring:
# redis 配置
redis:
# 地址
host: localhost
host: 36.138.181.113
# 端口,默认为6379
port: 6379
# 数据库索引
database: 0
database: 1
# 密码
password:
password: 1qaz2wsx3edc
# 连接超时时间
timeout: 10s
lettuce:
......
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 8909
servlet:
# 应用的访问路径
context-path: /dangerManage
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数,默认为200
max-threads: 800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
# 数据源配置
spring:
datasource:
......
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 8910
servlet:
# 应用的访问路径
context-path: /dangerManage
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数,默认为200
max-threads: 800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
# 数据源配置
spring:
datasource:
......@@ -6,7 +21,7 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://36.148.23.59:3306/danger_manage?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://36.138.181.113:3306/danger_manage_area_b?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: root@123
# 从库数据源
......@@ -58,7 +73,7 @@ spring:
# redis 配置
redis:
# 地址
host: 36.148.23.59
host: 36.138.181.113
# 端口,默认为6379
port: 6379
# 数据库索引
......
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 8908
servlet:
# 应用的访问路径
context-path: /dangerManage
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数,默认为200
max-threads: 800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
# 日志配置
logging:
level:
......@@ -26,7 +11,7 @@ spring:
# 国际化资源文件路径
basename: i18n/messages
profiles:
active: test
active: dev
# 文件上传
servlet:
multipart:
......
......@@ -6,3 +6,6 @@ VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
#安全平台后台地址
VUE_APP_TARGET = 'http://36.138.181.113:8091/dangerManage'
......@@ -3,3 +3,6 @@ ENV = 'production'
# 安全生产信息化平台/生产环境
VUE_APP_BASE_API = '/prod-api'
#安全平台后台地址
VUE_APP_TARGET = 'http://36.138.181.113:8091/dangerManage'
......@@ -5,3 +5,6 @@ ENV = 'staging'
# 安全生产信息化平台/测试环境
VUE_APP_BASE_API = '/stage-api'
#安全平台后台地址
VUE_APP_TARGET = 'http://36.138.181.113:8092/dangerManage'
......@@ -34,8 +34,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://222.223.203.154:8082/dangerManage`,
// target: `http://192.168.2.14:8908//dangerManage`,
target: process.env.VUE_APP_TARGET,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
......
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