Commit Graph
26 Commits
Author SHA1 Message Date
tanshu c4a6425926 Caddy: adopt dual-role snippet (PB api+admin on main host), relative PB file urls
- www host: /_* and /api/* proxy to pocketbase :8090, everything else to
  the TanStack app; redir /_ /_/ for the admin path
- cms host unchanged: redir / -> /_/
- migration: legacy per-host marker blocks are removed before the new
  combined block is installed
- cms.ts: PB file urls are now same-origin relative (/api/files/...) —
  browsers could never load the old 127.0.0.1:8090 urls; validated the
  rendered Caddyfile with caddy:2
2026-09-06 14:22:09 +05:30
tanshu f5d5dcac94 vars: pb_root flag on the cms caddy host (dashboard at /) 2026-09-06 14:16:57 +05:30
tanshu c5e89f0f90 Caddy: PocketBase dashboard reachable at cms host root (redir / -> /_/)
- snippet generation moved to a j2 template; per-host pb_root flag
- cms.mozimo.in emits 'redir / /_/' before reverse_proxy (pattern from
  overlord's Caddyfile); other hosts unchanged
- snippets now update in place (blockinfile idempotency) instead of
  skipping when the desired block changed
2026-09-06 14:15:52 +05:30
tanshu f68ddad6f3 Fix seed script unreadable in image: COPY --chmod applied 0644 to the auto-created /app/scripts dir (unsearchable for the node user → MODULE_NOT_FOUND). Seed now lives at /app/pb-seed.mjs. 2026-09-06 13:48:15 +05:30
tanshu 7d29886975 cleanup 2026-09-06 08:02:01 +00:00
tanshu 134f0b0a7a Deploy workflow: commit-id image tags, guarded deploy.sh, opt-in prune
- Makefile builds from 'git archive HEAD' (stale-remote-HEAD impossible):
  tags registry.tanshu.com/mozimo:<short-commit> + :main; build-check target
  verifies both architectures without pushing
- deploy.sh: refuses dirty tracked tree / HEAD != origin/main (--force to
  bypass), ff-only pull, passes the commit as image_tag to ansible,
  --prune flag for opt-in image cleanup
- ansible: docker_image uses image_tag extra-var (falls back to tag),
  prune task keeps the 3 newest mozimo images, mozimo-repo only
2026-09-06 13:21:16 +05:30
tanshu 424a2b016a Updated pocketbase errors. 2026-09-06 07:18:40 +00:00
tanshu c80c2b0b12 cms typo 2026-09-06 06:52:23 +00:00
tanshu 328a1a23e0 Agent skills
Prettier
eslint
shopify
2026-09-06 06:38:04 +00:00
tanshu ba93b829c4 gifting pill boxes to image buttons. 2026-09-04 11:40:11 +00:00
tanshu bc5ced1843 updates 2026-09-04 11:38:24 +00:00
tanshu f4db22e828 missed a file 2026-09-03 10:44:31 +00:00
tanshu c121e0ca0a Updated docker 2026-09-03 10:40:55 +00:00
tanshu 09cbe61890 node image does not have apt 2026-09-03 10:24:13 +00:00
tanshu bd801a1f4f wrong node 2026-09-03 10:22:12 +00:00
tanshu 7bc3e7fa76 Pointing to the wrong repository. 2026-09-03 10:19:42 +00:00
tanshu 7961a3d2a6 deepseek harness 2026-09-03 10:11:31 +00:00
tanshu cbdcf74bfc SEO 2026-04-21 02:08:09 +00:00
tanshu 4930e6c6d2 SEO Improvements. 2026-04-19 14:07:23 +00:00
tanshu ed959df5e9 Updated hosts for non www usage 2026-04-19 10:11:30 +00:00
tanshu fc94ae7bb2 Updated the makefile 2026-04-19 09:58:59 +00:00
tanshu e94dec0036 Performance improvements and Dockerfile update 2026-04-19 09:54:47 +00:00
tanshu 31f88749f9 Moved to tanstack start from nextjs using google antigravity 2026-04-19 08:15:50 +00:00
tanshu 7b1ee49d11 Added google tag
Added ansible
Added deploy.sh
2025-10-04 14:53:45 +00:00
tanshu 67411b3972 Update build 2025-10-04 11:31:00 +00:00
tanshu e3396231b3 Pipiline for docker build 2025-10-04 05:08:49 +00:00