chore(cvm): use only the community relay for data queries

Policy: the CVM server queries a single community relay
(wss://goskatespots.nostr1.com). Align .env.example (and the local .env) to it.
The local duplicate unit has been retired; the server runs on one host only.
This commit is contained in:
SkateSpots 2026-09-27 12:07:58 +07:00
parent f7855d47e4
commit c487d9d1d2
2 changed files with 5 additions and 3 deletions

View file

@ -119,7 +119,8 @@ session with **no other memory of this project**. So:
announcements on a **heartbeat** (`CVM_HEARTBEAT_MS`, default 15 min) so the
owner Settings health card (stale after 45 min) stays green; `LOG_LEVEL` is
now wired to the transport. Relays come from `NOSTR_RELAYS` in the gitignored
`cvm-server/.env`. The tracked manifest is `package.cvm.json`. Tools:
`cvm-server/.env` — policy is **single community relay**
(`wss://goskatespots.nostr1.com`). The tracked manifest is `package.cvm.json`. Tools:
`find_spots` / `find_events` / `find_coaches` (all Lab kinds 35001–35014) /
`find_gear` / `find_crews` / `find_shops` / `find_tours` +
`get_community_stats` — kept at parity with the app's `useCVMClient`. Has a

View file

@ -7,8 +7,9 @@
# NEVER commit this to git!
CVM_SERVER_NSEC_HEX=your_64_char_hex_private_key_here
# Nostr relays to query for skate data (comma-separated)
NOSTR_RELAYS=wss://goskatespots.nostr1.com,wss://relay.ditto.pub
# Nostr relay(s) to query for skate data (comma-separated).
# This deployment uses only the community relay — the canonical SkateSpots data.
NOSTR_RELAYS=wss://goskatespots.nostr1.com
# CVM discovery relay — where agents find your server
CVM_RELAY=wss://relay.contextvm.org