Commit Graph
23 Commits
Author SHA1 Message Date
kennethobsequio 843fc38f12 perf(docker): slim api image from 1.44GB to 657MB
The api image shipped every build artifact pnpm produced:

  - pnpm store + caches            769 MB
  - ffprobe-static (5 platforms)   335 MB
  - devDependencies (jest et al.)  included
  - pm2, npm cache                 ~38 MB

Split the build into a deps stage that installs with --prod and drops the
pnpm store/caches in the same layer (node_modules entries are hardlinks, so
they survive), then copy only node_modules into a clean runtime stage.

ffprobe-static ships ffprobe for darwin/linux/win32 + ia32/x64 but both
services already prefer a system ffprobe via `which ffprobe`, so its binaries
are stripped and apk ffmpeg provides ffprobe instead. That also adds the
ffmpeg binary services/ffmpeg.service.js needs for the mov/mkv fast-start
remux, which the old image never had.

Drop pm2: docker's restart policy covers crashes, and node now receives
SIGTERM directly (~17 MB image, ~40 MB RSS saved on a 1.9 GB droplet).

Verified on the QAS droplet: clean build 98s (was ~3m54s deploy step),
code-only rebuild 8s, all runtime deps + sharp + typst + ffprobe resolve,
container boots to the DB handshake.

Also prune superseded layers in the deploy workflow.
2026-10-29 00:00:11 +08:00
kennethobsequio 4fde9c31a0 chore(deps): bump patch/minor versions across workspace 2026-10-28 23:18:56 +08:00
kennethobsequio ba5bb21961 commit unsaved
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-10-12 16:45:08 +08:00
kennethobsequio 8bf4c04f0b forcibly
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-09-26 12:57:21 +08:00
kennethobsequio 96dd20e06b refactor: nginx config
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-09-22 12:51:27 +08:00
kennethobsequio b289382747 E2E test is not yet implemented
Because we will need to make another plan.

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-09-22 01:50:22 +08:00
kennethobsequio 9e162bd595 ci: deploy
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-09-21 23:26:01 +08:00
kennethobsequio f67d8d3797 added asset adjustments
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-09-09 13:55:33 +08:00
kennethobsequio 79203b1654 purchase / checkout flow
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-31 17:57:29 +08:00
kennethobsequio 7413a296fb replace view plan to dialog - client side
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-31 17:14:13 +08:00
kennethobsequio 1d2c6f1ad8 tiers controller acid missing
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-31 11:00:29 +08:00
kennethobsequio 1f2db13168 replace STRING to TEXT data type
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-29 16:02:47 +08:00
kennethobsequio 872b90e171 remove all unused files
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-29 15:51:34 +08:00
kennethobsequio eec1cd22cb db migration
testing live in another VM environment for self hosting

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-29 15:48:02 +08:00
kennethobsequio 05f27e34d7 asset viewer now viewing on tabs
Tabs is better for this yay

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-28 19:34:10 +08:00
kennethobsequio 5b784ca87c moving readme
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
2026-08-24 14:05:35 +08:00
kennethobsequioandClaude Sonnet 5 832c8e078b chore: gitignore pnpm-lock.yaml, keep pnpm-workspace.yaml tracked
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-24 13:58:01 +08:00
kennethobsequioandClaude Sonnet 5 b190f7eaeb fix(docker-compose): rebase build contexts and env/volume paths onto apps/api and apps/web (cont'd)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-24 12:21:27 +08:00
kennethobsequioandClaude Sonnet 5 ee64f1bdc0 fix(docker-compose): rebase build contexts and env/volume paths onto apps/api and apps/web
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-24 12:21:26 +08:00
kennethobsequioandClaude Sonnet 5 15508013fa chore: convert to real pnpm workspace, single root lockfile
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-24 12:21:22 +08:00
kennethobsequioandClaude Sonnet 5 109f266419 chore: dedupe stray pnpm files and duplicate LICENSE from apps/web
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-24 12:21:20 +08:00
kennethobsequio b37218f90e merge new_starr_app@qas history into apps/web
git-subtree-dir: apps/web
git-subtree-mainline: eaa6d2276a
git-subtree-split: 459af9d46a
2026-08-24 12:21:16 +08:00
kennethobsequioandClaude Sonnet 5 eaa6d2276a chore: relocate backend into apps/api ahead of monorepo merge
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-24 12:20:40 +08:00