build: 镜像内置 Linux amd64/arm64 + Windows amd64 三平台 Agent,固定版本 v1.0.1
- Dockerfile/backend/Dockerfile: 显式交叉编译 linux-amd64、linux-arm64、 windows-amd64.exe(原实现只产出容器目标架构,ARM 主机会下载 404) - 移除 darwin-arm64:服务器采集场景极少见,不再产出也不在清单中声明 - router/agent_static.go、run.sh、文档同步对齐实际产出清单 // Logan.Li
This commit is contained in:
1 parent
59320aa410
commit
4010b4fd70
3 files changed
+15
-6
No files matched your search
+3
-1
@@ -43,7 +43,9 @@ services:
|
||||
- "127.0.0.1:6379:6379"
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
command: redis-server --appendonly yes
|
||||
# appendonly: 分时热数据需持久化,避免重启丢窗口;
|
||||
# maxmemory + volatile-lru: 只淘汰带 TTL 的键(ZSET 热数据),保护 SetNX 分布式锁等无 TTL 键。 // Logan.Li
|
||||
command: redis-server --appendonly yes --maxmemory 512mb --maxmemory-policy volatile-lru --maxmemory-samples 5
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
|
||||
Reference in new issue
Block a user