Skip to content

feat(deploy): add VPS-ready docker compose and health checks - #15

Merged
sommio merged 7 commits into
developfrom
chore/docker-images-and-vps-compose
Apr 21, 2026
Merged

feat(deploy): add VPS-ready docker compose and health checks#15
sommio merged 7 commits into
developfrom
chore/docker-images-and-vps-compose

Conversation

@sommio

@sommio sommio commented Apr 21, 2026

Copy link
Copy Markdown
Owner

Summary

Add a repo-root Docker Compose deployment path for RSSift on a
single VPS. The stack now builds both apps, runs migrations,
adds service health probes, and fronts traffic through Caddy.

What Changed

  • add compose.yaml, Caddyfile, .dockerignore, and
    .env.example as the repo-root deployment contract
  • add API and web health endpoints so Compose can gate startup
    on readiness instead of process launch timing
  • add API and web Dockerfiles that build from the monorepo root
    while keeping package-local ownership of runtime logic
  • document the VPS flow in root and app READMEs plus paired
    English and Simplified Chinese requirements and plan docs
  • harden root test orchestration so pnpm test exits cleanly
    and root e2e runs avoid shared database races

Validation

  • pnpm typecheck
  • pnpm --filter api test -- --runTestsByPath
    src/health/health.controller.spec.ts

sommio added 7 commits April 21, 2026 16:23
Add Dockerfiles and compose spec to build API and web services together.
Expose health endpoints for container probes in API and web runtimes.
Document VPS deployment and contract checks in bilingual EN/ZH docs.
Clear stale compiler cache artifacts before each fixture run to avoid
cross-test contamination, and run e2e tests sequentially for stable
CI behavior.
Run package-level tests with explicit stream output so fixture checks remain
stable while preserving deterministic guardrail command output.
Keep .env inputs minimal, remove domain/TLS knobs from root Compose,
and pin Caddy/contract tests to a fixed :80 listener with explicit
published HTTP port mapping.
@sommio
sommio merged commit fa392bd into develop Apr 21, 2026
5 checks passed
@sommio
sommio deleted the chore/docker-images-and-vps-compose branch April 21, 2026 13:15
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