Skip to content

feat(deploy): container image, CD to GHCR and production compose; add HR, multi-ai and leaderboard checks - #1

Merged
wailbentafat merged 1 commit into
mainfrom
feat/container-deploy
Nov 26, 2026
Merged

wailbentafat merged 1 commit into
mainfrom
feat/container-deploy

Conversation

@wailbentafat

Copy link
Copy Markdown
Collaborator

Containerises mc-status so it deploys like the other apps: CI pushes the image, a host Watchtower pulls it.

  • Dockerfile: builds the project's own standalone Linux package (bun run validate and build:linux) and runs it on the Bun slim image as the non-root user, with a /healthz healthcheck; targets.yaml is baked in; the SQLite database lives on the /data volume.
  • cd.yml: pull requests build the image; pushes to main push ghcr.io/microclub-usthb/mc-status as :latest and :sha-.
  • deploy/: production compose (127.0.0.1:13200, Watchtower label, memory and cpu limits, data volume) and the Caddy site.
  • targets.yaml: fills the HR event platform, multi-ai and dev-leaderboard checks (web, dns, tls; plus the leaderboard API health).

Tested: the image builds for linux/amd64, reports healthy, serves the page and assets.

@wailbentafat
wailbentafat merged commit daf2183 into main Nov 26, 2026
1 check passed
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