Skip to content

Improve self-hosted Docker onboarding#1456

Merged
MaxGhenis merged 4 commits intomainfrom
codex/docker-self-serve-smoke
Mar 29, 2026
Merged

Improve self-hosted Docker onboarding#1456
MaxGhenis merged 4 commits intomainfrom
codex/docker-self-serve-smoke

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • return JSON service metadata from / so a fresh self-hosted container advertises docs, health checks, and calculate URLs
  • add a unit test for that root-endpoint contract and keep the OpenAPI spec in sync
  • document the published ghcr.io image in the top-level and config READMEs
  • harden the production image by adding a non-root runtime user and a liveness HEALTHCHECK

Testing

  • /Users/maxghenis/PolicyEngine/policyengine-household-api/.venv/bin/pytest -q tests/unit/endpoints/test_home.py tests/to_refactor/api/test_api.py
  • Docker build not run locally because the Docker daemon was unavailable in this session

@MaxGhenis MaxGhenis force-pushed the codex/docker-self-serve-smoke branch from c5f4f69 to 05bfb5d Compare March 28, 2026 13:50
@MaxGhenis MaxGhenis merged commit 61fa4d9 into main Mar 29, 2026
3 checks passed
@MaxGhenis MaxGhenis deleted the codex/docker-self-serve-smoke branch March 29, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant