Commit ff740eaf by 齐伟伦

修改前端端口号为8054

parent bd53d4b1
......@@ -9,14 +9,14 @@ VITE_PUBLIC_PATH = /
# 可以有多个,注意多个不能换行,否则代理将会失效
# VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]]
# VITE_PROXY=[["/api","https://vvbin.cn/test"]]
VITE_PROXY = [["/system","http://192.168.8.149:8053"],["/language","http://192.168.8.149:8053"],["/api","http://192.168.8.149:8053"]]
VITE_PROXY = [["/system","http://192.168.8.149:8055"],["/language","http://192.168.8.149:8055"],["/api","http://192.168.8.149:8055"]]
# 是否删除Console.log
VITE_DROP_CONSOLE = false
# 接口地址
# 如果没有跨域问题,直接在这里配置即可
VITE_GLOB_API_URL=http://127.0.0.1:8053
VITE_GLOB_API_URL=http://127.0.0.1:8055
# 文件上传接口 可选
VITE_GLOB_UPLOAD_URL = /system/oss/upload
......
......@@ -16,7 +16,7 @@ VITE_BUILD_COMPRESS = 'gzip'
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
# 接口地址 可以由nginx做转发或者直接写实际地址
VITE_GLOB_API_URL=http://112.230.195.2:8053
VITE_GLOB_API_URL=http://112.230.195.2:8055
# 文件上传地址 可以由nginx做转发或者直接写实际地址
......
......@@ -16,7 +16,7 @@ VITE_BUILD_COMPRESS = 'gzip'
VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false
# 接口地址 可以由nginx做转发或者直接写实际地址
VITE_GLOB_API_URL=http://112.230.195.2:8053
VITE_GLOB_API_URL=http://112.230.195.2:8055
# 文件上传地址 可以由nginx做转发或者直接写实际地址
......
......@@ -43,7 +43,7 @@ COPY --from=builder /app/dist .
COPY nginx.conf /etc/nginx/conf.d/default.conf
# 暴露端口
EXPOSE 8052
EXPOSE 8054
# 启动 Nginx
CMD ["nginx", "-g", "daemon off;"]
......@@ -4,10 +4,10 @@ services:
context: .
dockerfile: Dockerfile
args:
BUILD_MODE: production
#BUILD_MODE: test
#BUILD_MODE: production
BUILD_MODE: test
image: xjrsoft-vue:1.0.0
container_name: xjrsoft-vue
ports:
- "8052:8052"
- "8054:8054"
restart: unless-stopped
server {
listen 8052;
listen 8054;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
......
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