Commit History
-
chore: disable Next.js automatic SIGTERM handling to prioritize custom backup shutdown logic Running
fa753f4
-
Merge branch 'main' of https://huggingface.co/spaces/solora-hq/Tierly
fbc00ba -
docs: update Dockerfile comments to reflect S3-based DB restoration process
c2121cd
-
fix: resolve prisma pathing in Dockerfile CMD by using absolute node_modules paths
dungpvavadaba40900
-
docs(docker): correct Studio bind note (0.0.0.0, not localhost)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>527cb40 -
feat(docker): run Prisma Studio (localhost:5555) alongside the web app
Spawn `prisma studio --port 5555` in the background before exec-ing next start, so /ops/studio can proxy to it. Studio binds localhost only and HF exposes just port 3000, so it is never publicly reachable — access is via the operator-gated route handlers in the app. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>aee4e22
-
fix(docker): tini + exec next so SIGTERM reaches the server (shutdown backup)
`exec npm start` made npm PID 1; npm forks the Next server as a child and does not forward SIGTERM, so the shutdown DB backup never ran on rebuild or idle-sleep -> data written since the last periodic backup was lost. Add tini as PID 1 and exec the Next server directly so the process holding the SIGTERM handler receives the signal. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>2d134f3 -
feat(docker): mount NEXT_PUBLIC_CRISP_WEBSITE_ID at build (inlined for the chat widget)
c7dc54e -
fix(docker): shopify deploy uses --allow-updates (CLI 4.x dropped --force) + npm install
70afe3e -
chore(docker): CI=true for shopify deploy so it never blocks on a prompt
c433567 -
feat(docker): deploy Shopify Function/config during Space build (non-fatal)
dc9f879 -
fix(docker): create empty public/ so the runner COPY doesn't fail (app has no public dir)
88aebdb -
fix(docker): placeholder env at build time so next build passes (real env at runtime)
c6d9cbb -
fix(docker): reuse node user (UID 1000) instead of useradd (collides on node:24-slim)
ced02e0 -
fix(docker): exec npm start so Node receives SIGTERM (enables shutdown backup)
067790e -
Add Docker build (git-clone private repo) + deploy guide
Clones the private GitHub Tierly repo at build time via the GITHUB_TOKEN build secret; mounts NEXT_PUBLIC_SHOPIFY_API_KEY for the build; pre-creates /data so it works with or without Persistent Storage; restore-db then migrate then start. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>8ed391f