feat: 应用监听端口改为 80,添加 Spot 实例支持
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 2m28s

- 默认端口从 3000 改为 80
- Dockerfile 更新 EXPOSE 和健康检查端口
- 添加 ECI Spot 抢占式实例注解
- 移除 USER node 以支持监听 80 端口

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
D8D Developer
2026-03-20 13:12:28 +00:00
parent e743fc9bcd
commit 9e97c52f76
3 changed files with 5 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ import { K8sClient, V1Deployment, V1Ingress, V1IngressRule, V1ServicePort } from
const K8S_API_URL = process.env.K8S_API_URL || '';
const K8S_API_TOKEN = process.env.K8S_API_TOKEN || '';
const DEV_HOST = process.env.DEV_HOST || 'dev.d8d.fun';
const TLS_SECRET_NAME = process.env.TLS_SECRET_NAME || 'd8d-tls';
const TLS_SECRET_NAME = process.env.DEV_TLS_SECRET_NAME || 'd8d-proxy-tls';
// 专用命名空间
const NAMESPACE = 'd8d-proxy';