chore: 移除 Jenkinsfile,新增 deploy/ 目录部署配置
- 移除不符合团队规范的 Jenkinsfile - 新增 deploy/deployment.yaml(SWR 镜像、副本数1、私有镜像拉取 secrets) - 新增 deploy/service.yaml(80 端口转发到容器 3000 端口) - 新增 deploy/ingress.yaml(域名 personal.virtheart.com,Traefik + cert-manager) - docker-compose.yml 改为使用 SWR 镜像,保证本地与生产一致 - README 更新部署说明
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
# 生产与本地使用同一 SWR 镜像(团队规范)
|
||||
image: swr.cn-north-4.myhuaweicloud.com/virtheart/arcticnewone:latest
|
||||
container_name: arcticnewone
|
||||
ports:
|
||||
- "3100:3000"
|
||||
|
||||
Reference in New Issue
Block a user