diff --git a/README.md b/README.md index 91b3dea..14769ac 100644 --- a/README.md +++ b/README.md @@ -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/`). diff --git a/ansible/vars/default.yml b/ansible/vars/default.yml index 09f4375..320d1e8 100644 --- a/ansible/vars/default.yml +++ b/ansible/vars/default.yml @@ -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