docs(readme): GitHub source, Compose with Postgres, /healthz, backups and upgrades #41
No reviewers
Labels
No labels
bug
docs
duplicate
enhancement
help wanted
invalid
nice-to-have
pre-1.0
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jfro/lamplighter!41
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/19-readme"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #19
README gaps from the pre-1.0 audit, plus what the other 1.0 nice-to-haves added:
owner/*), GHES URL, what it reports, diagnosis contextpg_isreadyhealthcheck,depends_on: service_healthy, pinned:1tag)/healthzand the Docker HEALTHCHECK (#17): response shape, 503 on DB failure, no auth/no loggingpg_dump/pg_restore --clean, keepSECRET_KEY_BASEwith the backup, upgrade steps, migrations are forward-only so roll back by restoringDATABASE_HOST(#22),mix precommit; a one-paragraph intro in place of the Phoenix boilerplateTRUST_X_FORWARDED_FOR(#21) was already in the Environment table.Checked:
proofs/pr19/compose_check.shpulls the YAML block out of this README, swaps in a local build of this branch, and runs it: the container goeshealthy,/healthzreturns{"status":"ok","checks":{"database":"ok"}}200, and the README'spg_dump+pg_restore --cleanround-trip works (12 migrations present after restore).Note: an anonymous
docker pullworks. The bare 401 seen earlier is only the registry's Bearer challenge; an anonymous token then gets the manifest (Nye, C63). Nodocker loginneeded.Review of PR #41 (#19 README) at
bd12fc2— NyeChecked every new claim against the code; no blocking findings.
Verified:
d8a7623.Nits (optional, not blocking):
Applied nits 1 and 2 in
33779e1: forks are only skipped when matched byowner/*, and Checks is noted as only used for failed-job details. Nit 3: :1 exists once 1.0.0 ships, which this lands ahead of.