Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
6553900f
Commit
6553900f
authored
Jun 14, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增代码平台服务
parent
81b6171c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
yifu-codegen-deployment.yaml
k8s-bash-test/yifu-codegen-deployment.yaml
+1
-1
yifu-codegen-service.yaml
k8s-bash-test/yifu-codegen-service.yaml
+2
-2
application.yml
yifu-visual/yifu-codegen/src/main/resources/application.yml
+2
-0
No files found.
k8s-bash-test/yifu-codegen-deployment.yaml
View file @
6553900f
...
...
@@ -48,7 +48,7 @@ spec: # 资源规范字段
# 已经打好镜像存在docker容器中时,使用存在不检查级别,
# 默认为每次都检查,然后会进行拉取新镜像,因镜像仓库不存在,导致部署失败)
ports
:
-
containerPort
:
80
8
0
# 容器端口
-
containerPort
:
80
0
0
# 容器端口
env
:
# 启动环境配置信息 active and timeZone set
-
name
:
SPRING_PROFILES_ACTIVE
value
:
test
...
...
k8s-bash-test/yifu-codegen-service.yaml
View file @
6553900f
...
...
@@ -7,9 +7,9 @@ metadata: # 资源的元数据/属性
namespace
:
qas-mvp
# 部署在哪个namespace中
spec
:
# 资源规范字段
ports
:
-
port
:
80
8
0
# service 端口
-
port
:
80
0
0
# service 端口
protocol
:
TCP
# 协议
targetPort
:
80
8
0
# 容器暴露的端口
targetPort
:
80
0
0
# 容器暴露的端口
name
:
http-auth
# 端口名称
-
port
:
3500
# service 端口
protocol
:
TCP
# 协议
...
...
yifu-visual/yifu-codegen/src/main/resources/application.yml
View file @
6553900f
server
:
port
:
8000
# 加解密根密码
jasypt
:
encryptor
:
...
...
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