Containerize service + unauthenticated /api/health endpoint #9
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Scope
Dockerfile(build stage + runtime stage on a slim Node image).GET /api/healthreturns 200 with a small JSON payload (status,version, DB connectivity). No auth required. This is the only unauthenticated endpoint.compose.yamlexamples for the SQLite case and the Postgres case.Acceptance criteria
docker buildsucceeds on a clean checkout.docker runagainst either SQLite (file volume) or Postgres (env URL) brings the service up.curl http://localhost:3000/api/healthreturns 200 from an unauthenticated client.Part of epic #1. Depends on #7, #8.