Something went wrong. Try again.
atmo.rsvp
Something went wrong. Try again.
1.7 kB · 32 lines
at main
123456789101112131415161718192021222324252627282930313233# Generate both with: pnpm env:setup-devCLIENT_ASSERTION_KEY=COOKIE_SECRET=
# Set to your tunnel URL to use a confidential client in dev# OAUTH_PUBLIC_URL=https://your-tunnel.trycloudflare.com
# Search (optional). When SEARCH_URL / SEARCH_API_KEY are unset, search falls# back to the D1 LIKE query and near-me is unavailable, so the app runs fine# without any of these. See the "search (optional)" section in the README.# Read path (search + near-me): base url + a read-only Default Search API Key.# SEARCH_INDEX (defaults to `events`) is the one index var, shared by the read# path and the write sink below.# SEARCH_URL=http://localhost:7700# SEARCH_API_KEY=# SEARCH_INDEX=events# Write path (the cron ingest sink). Kept separate from the read url/key so the# writer uses the admin key while the read path stays on the search-only key.# The index is SEARCH_INDEX above (the sink writes the same index it reads).# SEARCH_SINK_URL=http://localhost:7700# SEARCH_SINK_API_KEY=# Near-me geocoding (optional; layered on the search sink above). Resolves the# coordinates of address-only events and writes _geo into the index so they# appear in near-me. Unset → the in-cron drip runs keyless against public OSM# Nominatim at a safe trickle. See the "near-me geocoding" section in the README.# For real volume / a bulk backfill, use LocationIQ (set both URL and KEY):# GEOCODER_URL=https://us1.locationiq.com/v1/search# GEOCODER_KEY=# Identify your deployment to public Nominatim (its usage policy requires it):# GEOCODER_USER_AGENT=atmo-events (you@example.com)# Minimum ms between geocoder calls (default 1100; floored to 1000 on public Nominatim):# GEOCODE_SLEEP_MS=1100