feat(install): 零输入一条命令部署 + 双架构发布包
- docker compose up -d 直接启动:entrypoint 在未显式提供密钥时自动生成随机 JWT_SECRET/ENCRYPTION_KEY 并持久化到数据卷 .secrets.env(0600,重启不变), 显式环境变量优先(单显式不被持久化文件覆盖,四场景实测);compose 去掉 :? 强制 - build.sh --dist / make dist:linux amd64 + arm64 两个 tar.gz(二进制+docs+homepage+README), 实测 15M/13M;安装文档重写为三方式(kubernetes/install.sh 一键、compose 一条命令、release 包) - README 快速开始同步
This commit is contained in:
1 parent
437ff56992
commit
0936234623
6 files changed
+98
-26
No files matched your search
@@ -108,6 +108,9 @@ clean:
|
||||
@echo "Cleanup complete."
|
||||
|
||||
# Linting
|
||||
dist:
|
||||
APP_VERSION=$$(git describe --tags --abbrev=0 2>/dev/null || echo dev) bash build.sh --dist
|
||||
|
||||
lint:
|
||||
@echo "Validating Dockerfile..."
|
||||
@docker run --rm -i hadolint/hadolint < Dockerfile 2>/dev/null || echo "hadolint not available, install from: https://github.com/hadolint/hadolint"
|
||||
|
||||
Reference in new issue
Block a user