ci: Q2 Chunk 4 — Gitea Actions CI/CD + Docker 生产化
- 创建 .gitea/workflows/ci.yml 四 job 并行流水线 (rust-check, rust-test, frontend-build, security-audit) - Docker Compose 端口不暴露到宿主机(使用 expose) - Redis 添加 requirepass 密码认证 - 添加容器资源限制 (1 CPU / 512MB) - Redis URL 格式更新为带密码认证
This commit is contained in:
@@ -8,7 +8,7 @@ max_connections = 20
|
||||
min_connections = 5
|
||||
|
||||
[redis]
|
||||
url = "redis://localhost:6379"
|
||||
url = "redis://:erp_redis_dev@localhost:6379"
|
||||
|
||||
[jwt]
|
||||
secret = "__MUST_SET_VIA_ENV__"
|
||||
|
||||
Reference in New Issue
Block a user