This commit is contained in:
2026-09-06 06:52:23 +00:00
parent 328a1a23e0
commit c80c2b0b12
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -40,12 +40,12 @@ The site renders commerce itself; Shopify runs headless behind it.
Checkout stays on Shopify's hosted page until Phase 2 (in-container cart,
`unauthenticated_write_checkouts` scope already granted).
- **PocketBase** (`src/lib/cms.ts`, running in the same container on :8090,
published as `cmd.mozimo.in`) — editorial layer: gifting tabs, /chocolate
published as `cms.mozimo.in`) — editorial layer: gifting tabs, /chocolate
rows + carousel images, gifting page copy. Reads cached ~30s.
- **Fallbacks** — if either backend is down the site serves the bundled
defaults from `src/data/catalog.ts`; it never blanks.
Content editing (no deploys): PocketBase admin at `https://cmd.mozimo.in/_/`
Content editing (no deploys): PocketBase admin at `https://cms.mozimo.in/_/`
edit `gifting_tabs` (tiles, blurbs, product handles per tier, ordering),
`collection_rows` (row order, names, the 3 carousel images per collection),
`gifting_page` (hero copy). Changes go live within the cache TTL.
@@ -83,4 +83,4 @@ output, PocketBase v0.40.2 (multi-arch) and `entrypoint.sh` which starts both
processes, ensures the PocketBase superuser matches `PB_SUPERUSER_EMAIL` /
`PB_SUPERUSER_PASSWORD` on every boot, and seeds the CMS schema + defaults.
Volumes: `/app/pb_data` holds the CMS database — back it up. Ports: `3000`
web, `8090` PocketBase (`cmd.mozimo.in` → 8090 via Caddy, see `ansible/`).
web, `8090` PocketBase (`cms.mozimo.in` → 8090 via Caddy, see `ansible/`).
+1 -1
View File
@@ -26,7 +26,7 @@ caddy_hosts:
- host: "{{ cms_host }}"
upstream: "{{ docker_container }}:{{ pb_port }}"
cms_host: "cmd.mozimo.in"
cms_host: "cms.mozimo.in"
pb_port: 8090
caddy_container: caddy