From e007c7f2f6bbaab1b0fb2f206cc756f409c836ee Mon Sep 17 00:00:00 2001 From: perry <292303709@qq.com> Date: Thu, 18 May 2023 14:47:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/Dockerfile | 2 +- yudao-server/src/main/resources/application-local.yaml | 2 ++ yudao-server/src/main/resources/application-test.yaml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/yudao-server/Dockerfile b/yudao-server/Dockerfile index 4dcd1e0d0..234081ad0 100644 --- a/yudao-server/Dockerfile +++ b/yudao-server/Dockerfile @@ -16,4 +16,4 @@ ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms512m -Xmx512m" EXPOSE 48080 ## 启动后端项目 -CMD java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar -Dspring.profiles.active=dev app.jar +CMD java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar app.jar diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 813f7d87f..0bbb845fc 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -1,5 +1,7 @@ server: port: 48080 + servlet: + context-path: /cyywl-api --- #################### 数据库相关配置 #################### diff --git a/yudao-server/src/main/resources/application-test.yaml b/yudao-server/src/main/resources/application-test.yaml index 371a21538..1383eea5b 100644 --- a/yudao-server/src/main/resources/application-test.yaml +++ b/yudao-server/src/main/resources/application-test.yaml @@ -1,7 +1,7 @@ server: port: 48080 servlet: - context-path: /admin-api + context-path: / --- #################### 数据库相关配置 ####################