Browse Source

增加海拉六个环境

master_hella_20240701
liuchen864 5 months ago
parent
commit
d4b9baed02
  1. 12
      .env.hella13
  2. 37
      .env.hella14
  3. 37
      .env.hella15
  4. 37
      .env.hella16
  5. 37
      .env.hella8
  6. 37
      .env.hella9
  7. 2
      nginx.conf
  8. 7
      package.json

12
.env.production → .env.hella13

@ -1,13 +1,13 @@
# 生产环境 # wms海拉长春生产环境
NODE_ENV=test NODE_ENV=production
VITE_DEV=false VITE_DEV=false
# 请求路径 # 请求路径
VITE_BASE_URL='http://10.62.193.15:25100/api' VITE_BASE_URL='http://172.21.32.13:25100/api'
# 上传路径 # 上传路径
VITE_UPLOAD_URL='http://10.62.193.15:25100/api/admin-api/infra/file/upload' VITE_UPLOAD_URL='http://172.21.32.13:25100/api/admin-api/infra/file/upload'
# 接口前缀 # 接口前缀
VITE_API_BASEPATH= VITE_API_BASEPATH=
@ -31,7 +31,7 @@ VITE_BASE_PATH=/
VITE_OUT_DIR=sfms3.0 VITE_OUT_DIR=sfms3.0
# 自定义接口路径 # 自定义接口路径
VITE_INTERFACE_URL='http://10.62.193.15:25100/magic/web/index.html' VITE_INTERFACE_URL='http://172.21.32.13:25100/magic/web/index.html'
# 积木报表请求路径 # 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://10.62.193.15:25100' VITE_JMREPORT_BASE_URL='http://172.21.32.13:25100'

37
.env.hella14

@ -0,0 +1,37 @@
# wms海拉长春测试环境
NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://172.21.32.14:25100/api'
# 上传路径
VITE_UPLOAD_URL='http://172.21.32.14:25100/api/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
# 接口地址
VITE_API_URL=/admin-api
# 是否删除debugger
VITE_DROP_DEBUGGER=true
# 是否删除console.log
VITE_DROP_CONSOLE=true
# 是否sourcemap
VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=sfms3.0
# 自定义接口路径
VITE_INTERFACE_URL='http://172.21.32.14:25100/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://172.21.32.14:25100'

37
.env.hella15

@ -0,0 +1,37 @@
# scp海拉长春生产环境
NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://172.21.32.15:25100/api'
# 上传路径
VITE_UPLOAD_URL='http://172.21.32.15:25100/api/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
# 接口地址
VITE_API_URL=/admin-api
# 是否删除debugger
VITE_DROP_DEBUGGER=true
# 是否删除console.log
VITE_DROP_CONSOLE=true
# 是否sourcemap
VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=sfms3.0
# 自定义接口路径
VITE_INTERFACE_URL='http://172.21.32.15:25100/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://172.21.32.15:25100'

37
.env.hella16

@ -0,0 +1,37 @@
# scp海拉长春测试环境
NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://172.21.32.16:25100/api'
# 上传路径
VITE_UPLOAD_URL='http://172.21.32.16:25100/api/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
# 接口地址
VITE_API_URL=/admin-api
# 是否删除debugger
VITE_DROP_DEBUGGER=true
# 是否删除console.log
VITE_DROP_CONSOLE=true
# 是否sourcemap
VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=sfms3.0
# 自定义接口路径
VITE_INTERFACE_URL='http://172.21.32.16:25100/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://172.21.32.16:25100'

37
.env.hella8

@ -0,0 +1,37 @@
# wms海拉成都生产环境
NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://172.22.32.8:25100/api'
# 上传路径
VITE_UPLOAD_URL='http://172.22.32.8:25100/api/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
# 接口地址
VITE_API_URL=/admin-api
# 是否删除debugger
VITE_DROP_DEBUGGER=true
# 是否删除console.log
VITE_DROP_CONSOLE=true
# 是否sourcemap
VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=sfms3.0
# 自定义接口路径
VITE_INTERFACE_URL='http://172.22.32.8:25100/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://172.22.32.8:25100'

37
.env.hella9

@ -0,0 +1,37 @@
# wms海拉成都测试环境
NODE_ENV=production
VITE_DEV=false
# 请求路径
VITE_BASE_URL='http://172.22.32.9:25100/api'
# 上传路径
VITE_UPLOAD_URL='http://172.22.32.9:25100/api/admin-api/infra/file/upload'
# 接口前缀
VITE_API_BASEPATH=
# 接口地址
VITE_API_URL=/admin-api
# 是否删除debugger
VITE_DROP_DEBUGGER=true
# 是否删除console.log
VITE_DROP_CONSOLE=true
# 是否sourcemap
VITE_SOURCEMAP=false
# 打包路径
VITE_BASE_PATH=/
# 输出路径
VITE_OUT_DIR=sfms3.0
# 自定义接口路径
VITE_INTERFACE_URL='http://172.22.32.9:25100/magic/web/index.html'
# 积木报表请求路径
VITE_JMREPORT_BASE_URL='http://172.22.32.9:25100'

2
nginx.conf

@ -30,7 +30,7 @@ http {
server { server {
listen 25300; listen 25300;
server_name_in_redirect off; server_name_in_redirect off;
server_name dev.ccwin-in.com; server_name _;
location /api/ { location /api/ {
proxy_pass http://sfms3.0/; proxy_pass http://sfms3.0/;
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;

7
package.json

@ -7,7 +7,12 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"test": "vite build --mode test", "test": "vite build --mode test",
"prod": "vite build --mode production", "hella8": "vite build --mode hella8",
"hella9": "vite build --mode hella9",
"hella13": "vite build --mode hella13",
"hella14": "vite build --mode hella14",
"hella15": "vite build --mode hella15",
"hella16": "vite build --mode hella16",
"preview": "vite preview", "preview": "vite preview",
"lint": "eslint --fix --ext .js,.vue src" "lint": "eslint --fix --ext .js,.vue src"
}, },

Loading…
Cancel
Save