Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
promotion-gateway
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
promotion
promotion-gateway
Commits
7fa6b7d1
提交
7fa6b7d1
authored
5月 24, 2024
作者:
000516
提交者:
Coding
5月 24, 2024
浏览文件
操作
浏览文件
下载
差异文件
修改dockerfile中的端口配置;修改配置文件格式
Merge Request: 修改dockerfile中的端口配置;修改配置文件格式 Created By: @李秋林 Accepted By: @李秋林 URL:
https://g-pkkp8204.coding.net/p/promotion/d/promotion-gateway/git/merge/22?initial=true
上级
66d4f31b
7847db2a
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
12 行增加
和
6 行删除
+12
-6
Dockerfile
Dockerfile
+1
-1
pom.xml
pom.xml
+10
-0
application-dev.yml
src/main/resources/application-dev.yml
+0
-2
application-live.yml
src/main/resources/application-live.yml
+1
-3
没有找到文件。
Dockerfile
浏览文件 @
7fa6b7d1
...
...
@@ -10,4 +10,4 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shangh
ENTRYPOINT
["nohup","java", "-jar", "/promotion/app.jar"]
CMD
["--spring.profiles.active=live"]
EXPOSE
801
1
EXPOSE
801
0
pom.xml
浏览文件 @
7fa6b7d1
...
...
@@ -211,12 +211,22 @@
<artifactId>
commons-io
</artifactId>
<groupId>
commons-io
</groupId>
</exclusion>
<exclusion>
<artifactId>
guava
</artifactId>
<groupId>
com.google.guava
</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-gateway
</artifactId>
<exclusions>
<exclusion>
<artifactId>
bcpkix-jdk15on
</artifactId>
<groupId>
org.bouncycastle
</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- gateway 负载均衡-->
...
...
src/main/resources/application-dev.yml
浏览文件 @
7fa6b7d1
...
...
@@ -30,6 +30,5 @@ spring:
# uri: http://127.0.0.1:8011
predicates
:
-
Path=/**
-
logging
:
config
:
classpath:logback-spring.xml
\ No newline at end of file
src/main/resources/application-live.yml
浏览文件 @
7fa6b7d1
...
...
@@ -26,9 +26,8 @@ spring:
routes
:
-
id
:
wangxiaolu-promotion-service
uri
:
lb://wangxiaolu-promotion-service
# uri: http://127.0.0.1:8011
# uri: http://127.0.0.1:8011
predicates
:
-
Path=/**
-
logging
:
config
:
classpath:logback-spring.xml
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论