Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
d85156c4
Commit
d85156c4
authored
Sep 29, 2022
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改 gengdidi
parent
d95e129b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
63 additions
and
25 deletions
+63
-25
application-dev.yml
danger-manage-admin/src/main/resources/application-dev.yml
+20
-5
application-prd.yml
danger-manage-admin/src/main/resources/application-prd.yml
+15
-0
application-test.yml
danger-manage-admin/src/main/resources/application-test.yml
+17
-2
application.yml
danger-manage-admin/src/main/resources/application.yml
+1
-16
.env.development
danger-manage-web/.env.development
+3
-0
.env.production
danger-manage-web/.env.production
+3
-0
.env.staging
danger-manage-web/.env.staging
+3
-0
vue.config.js
danger-manage-web/vue.config.js
+1
-2
No files found.
danger-manage-admin/src/main/resources/application-dev.yml
View file @
d85156c4
# 开发环境配置
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
:
...
...
danger-manage-admin/src/main/resources/application-prd.yml
View file @
d85156c4
# 开发环境配置
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
:
...
...
danger-manage-admin/src/main/resources/application-test.yml
View file @
d85156c4
# 开发环境配置
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.1
48.23.59:3306/danger_manage
?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://36.1
38.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.1
48.23.59
host
:
36.1
38.181.113
# 端口,默认为6379
port
:
6379
# 数据库索引
...
...
danger-manage-admin/src/main/resources/application.yml
View file @
d85156c4
# 开发环境配置
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
:
...
...
danger-manage-web/.env.development
View file @
d85156c4
...
...
@@ -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'
danger-manage-web/.env.production
View file @
d85156c4
...
...
@@ -3,3 +3,6 @@ ENV = 'production'
# 安全生产信息化平台/生产环境
VUE_APP_BASE_API = '/prod-api'
#安全平台后台地址
VUE_APP_TARGET = 'http://36.138.181.113:8091/dangerManage'
danger-manage-web/.env.staging
View file @
d85156c4
...
...
@@ -5,3 +5,6 @@ ENV = 'staging'
# 安全生产信息化平台/测试环境
VUE_APP_BASE_API = '/stage-api'
#安全平台后台地址
VUE_APP_TARGET = 'http://36.138.181.113:8092/dangerManage'
danger-manage-web/vue.config.js
View file @
d85156c4
...
...
@@ -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
]:
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment