# ───────────────────────────────────────────────────────────── # Payload CMS # ───────────────────────────────────────────────────────────── # Generate with: openssl rand -hex 32 PAYLOAD_SECRET=please-change-me-to-a-long-random-string # SQLite file (relative to apps/cms). Swap for a libSQL/Turso URL in prod. DATABASE_URI=file:./carpa.sqlite # Public URL the CMS is served from PAYLOAD_URL=http://localhost:3000 PUBLIC_PAYLOAD_URL=http://localhost:3000 # ───────────────────────────────────────────────────────────── # Typesense (server-side / admin — full access key) # ───────────────────────────────────────────────────────────── TYPESENSE_HOST=localhost TYPESENSE_PORT=8108 TYPESENSE_PROTOCOL=http TYPESENSE_API_KEY=carpa-typesense-dev-key # A scoped, search-only key used by the browser. TYPESENSE_SEARCH_ONLY_API_KEY=carpa-typesense-search-only-key # ───────────────────────────────────────────────────────────── # Typesense (client / browser — search-only, safe to expose) # ───────────────────────────────────────────────────────────── PUBLIC_TYPESENSE_HOST=localhost PUBLIC_TYPESENSE_PORT=8108 PUBLIC_TYPESENSE_PROTOCOL=http PUBLIC_TYPESENSE_SEARCH_ONLY_API_KEY=carpa-typesense-search-only-key