ci: Q2 Chunk 4 — Gitea Actions CI/CD + Docker 生产化
Some checks failed
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled

- 创建 .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:
iven
2026-04-17 19:24:32 +08:00
parent 7c14bf83ca
commit eef264c72b
3 changed files with 86 additions and 6 deletions

View File

@@ -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__"