Commit Graph
46 Commits
Author SHA1 Message Date
tanshu 2524f0c46f Caddy role: single files/Caddyfile.j2 template (overlord pattern)
- template moved to ansible/files/Caddyfile.j2, tasks folded into main.yaml
2026-09-06 09:01:46 +00:00
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
ABasral a2727d3f5d links uopdated 2025-09-13 17:25:09 +05:30
ABasral 52ded64b40 fixes 2025-09-12 13:37:27 +05:30
ABasral b06bb213b7 updates 2025-09-12 13:34:25 +05:30
Ayush b1cdd39d8f Update README.md 2025-08-25 14:29:29 +05:30
bharti 0c3f73dab9 video done 2025-08-25 10:32:43 +05:30
bharti 41a5e9e434 video changes 2025-08-24 23:53:13 +05:30
Ayush ffc9a4a9e6 Update README.md 2025-08-21 00:12:07 +05:30
bharti 683d4ad0ed video url 2025-08-20 23:41:07 +05:30
Ayush ddaacaf9c1 Merge pull request #3 from ABasral/fix/minor-changes
minor changes
2025-08-20 13:41:25 +05:30
bharti 7d0dff3175 minor changes 2025-08-19 23:04:20 +05:30
Ayush aabfe281a6 Update README.md 2025-08-19 17:28:36 +05:30
Bharti1205 affd232005 Merge pull request #2 from ABasral/fix/align
design changes
2025-08-19 02:20:34 +05:30
bharti ab513a4e3c design changes 2025-08-19 00:19:58 +05:30
Ayush bd74440426 Merge pull request #1 from ABasral/fix/figma-design
Fix/figma design
2025-08-06 09:51:46 +05:30
bharti 30280a16f7 responsive changes 2025-08-06 00:18:20 +05:30
bharti 3b67c1149f design changes 2025-08-05 00:29:15 +05:30
ABasral cdc634cb4a new commits 2025-07-30 17:39:51 +05:30
ABasral 3aa7eb5a85 initial commit 2025-07-30 17:27:56 +05:30
ABasral 9e66f2e54b Initial commit from Create Next App 2025-07-26 10:38:02 +05:30