docs: harden central log implementation plan
This commit is contained in:
@@ -437,7 +437,7 @@ export function CentralStatus({ working }: { working: boolean }) {
|
||||
const isLast = index === rows.length - 1;
|
||||
return (
|
||||
<li
|
||||
key={`${index}-${line}`}
|
||||
key={index}
|
||||
className={[
|
||||
"flex items-baseline gap-2 font-mono text-[0.72rem] leading-relaxed",
|
||||
isLast ? "text-foreground/80" : "text-muted-foreground/55",
|
||||
@@ -719,8 +719,9 @@ Run:
|
||||
docker inspect -f '{{.Name}}|{{.State.Status}}|{{if .State.Health}}{{.State.Health.Status}}{{else}}no-healthcheck{{end}}|{{.Image}}|{{.State.StartedAt}}' \
|
||||
thothii-core-1 thothii-frontend-1 omics_portal-web-1
|
||||
docker top thothii-core-1 -eo pid,ppid,etime,args
|
||||
docker logs --since 10m --tail 200 thothii-frontend-1 2>&1 | \
|
||||
rg -i -c 'fatal|emerg|panic|authorization:|api[_-]?key|password|secret' || true
|
||||
frontend_log_patterns=$(docker logs --since 10m --tail 200 thothii-frontend-1 2>&1 | \
|
||||
rg -i -c 'fatal|emerg|panic|authorization:|api[_-]?key|password|secret' || true)
|
||||
printf 'frontend_log_patterns=%s\n' "${frontend_log_patterns:-0}"
|
||||
```
|
||||
|
||||
Expected: core is healthy with exactly its Step 2 image/start timestamp, frontend and portal are
|
||||
|
||||
Reference in New Issue
Block a user