Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weiqiao-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
金民
weiqiao-vue
Commits
ff740eaf
Commit
ff740eaf
authored
Mar 23, 2026
by
齐伟伦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改前端端口号为8054
parent
bd53d4b1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
xjrsoft-vue3/.env.development
+2
-2
xjrsoft-vue3/.env.production
+1
-1
xjrsoft-vue3/.env.test
+1
-1
xjrsoft-vue3/Dockerfile
+1
-1
xjrsoft-vue3/docker-compose.yml
+3
-3
xjrsoft-vue3/nginx.conf
+1
-1
No files found.
xjrsoft-vue3/.env.development
View file @
ff740eaf
...
@@ -9,14 +9,14 @@ VITE_PUBLIC_PATH = /
...
@@ -9,14 +9,14 @@ VITE_PUBLIC_PATH = /
# 可以有多个,注意多个不能换行,否则代理将会失效
# 可以有多个,注意多个不能换行,否则代理将会失效
# VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
# VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
# VITE_PROXY=[["/api","https://vvbin.cn/test"]]
# VITE_PROXY=[["/api","https://vvbin.cn/test"]]
VITE_PROXY = [["/system","http://192.168.8.149:805
3"],["/language","http://192.168.8.149:8053"],["/api","http://192.168.8.149:8053
"]]
VITE_PROXY = [["/system","http://192.168.8.149:805
5"],["/language","http://192.168.8.149:8055"],["/api","http://192.168.8.149:8055
"]]
# 是否删除Console.log
# 是否删除Console.log
VITE_DROP_CONSOLE = false
VITE_DROP_CONSOLE = false
# 接口地址
# 接口地址
# 如果没有跨域问题,直接在这里配置即可
# 如果没有跨域问题,直接在这里配置即可
VITE_GLOB_API_URL=http://127.0.0.1:805
3
VITE_GLOB_API_URL=http://127.0.0.1:805
5
# 文件上传接口 可选
# 文件上传接口 可选
VITE_GLOB_UPLOAD_URL = /system/oss/upload
VITE_GLOB_UPLOAD_URL = /system/oss/upload
...
...
xjrsoft-vue3/.env.production
View file @
ff740eaf
...
@@ -16,7 +16,7 @@ VITE_BUILD_COMPRESS = 'gzip'
...
@@ -16,7 +16,7 @@ VITE_BUILD_COMPRESS = 'gzip'
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
# 接口地址 可以由nginx做转发或者直接写实际地址
# 接口地址 可以由nginx做转发或者直接写实际地址
VITE_GLOB_API_URL=http://112.230.195.2:805
3
VITE_GLOB_API_URL=http://112.230.195.2:805
5
# 文件上传地址 可以由nginx做转发或者直接写实际地址
# 文件上传地址 可以由nginx做转发或者直接写实际地址
...
...
xjrsoft-vue3/.env.test
View file @
ff740eaf
...
@@ -16,7 +16,7 @@ VITE_BUILD_COMPRESS = 'gzip'
...
@@ -16,7 +16,7 @@ VITE_BUILD_COMPRESS = 'gzip'
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE
=
false
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE
=
false
# 接口地址 可以由nginx做转发或者直接写实际地址
# 接口地址 可以由nginx做转发或者直接写实际地址
VITE_GLOB_API_URL
=
http
://
112.230
.
195.2
:
805
3
VITE_GLOB_API_URL
=
http
://
112.230
.
195.2
:
805
5
# 文件上传地址 可以由nginx做转发或者直接写实际地址
# 文件上传地址 可以由nginx做转发或者直接写实际地址
...
...
xjrsoft-vue3/Dockerfile
View file @
ff740eaf
...
@@ -43,7 +43,7 @@ COPY --from=builder /app/dist .
...
@@ -43,7 +43,7 @@ COPY --from=builder /app/dist .
COPY
nginx.conf /etc/nginx/conf.d/default.conf
COPY
nginx.conf /etc/nginx/conf.d/default.conf
# 暴露端口
# 暴露端口
EXPOSE
805
2
EXPOSE
805
4
# 启动 Nginx
# 启动 Nginx
CMD
["nginx", "-g", "daemon off;"]
CMD
["nginx", "-g", "daemon off;"]
xjrsoft-vue3/docker-compose.yml
View file @
ff740eaf
...
@@ -4,10 +4,10 @@ services:
...
@@ -4,10 +4,10 @@ services:
context
:
.
context
:
.
dockerfile
:
Dockerfile
dockerfile
:
Dockerfile
args
:
args
:
BUILD_MODE
:
production
#
BUILD_MODE: production
#
BUILD_MODE: test
BUILD_MODE
:
test
image
:
xjrsoft-vue:1.0.0
image
:
xjrsoft-vue:1.0.0
container_name
:
xjrsoft-vue
container_name
:
xjrsoft-vue
ports
:
ports
:
-
"
805
2:8052
"
-
"
805
4:8054
"
restart
:
unless-stopped
restart
:
unless-stopped
xjrsoft-vue3/nginx.conf
View file @
ff740eaf
server
{
server
{
listen
805
2
;
listen
805
4
;
server_name
localhost
;
server_name
localhost
;
root
/usr/share/nginx/html
;
root
/usr/share/nginx/html
;
index
index.html
;
index
index.html
;
...
...
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