search-engine/scripts/deploy.env.example
King Omar 7e9eca6b0f Expose API via Cloudflare Tunnel over HTTPS/443
A deployed Worker's fetch() cannot reach the API on :3000, so publish it at
https://search-api.theradicalparty.com through a Cloudflare Tunnel. Point the
frontend API_URL at HTTPS/443, add cloudflared install to install-vm.sh
(driven by CLOUDFLARED_TOKEN), thread the token through deploy.sh, and add
docs/DEPLOY.md with the full tunnel + DNS setup.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 01:56:38 +10:00

8 lines
304 B
Text

# Copy to deploy.env (git-ignored) and fill in. Used by deploy.sh.
VM_HOST=your.vm.ip.address
VM_USER=root
VM_PASS=your-vm-password
# Cloudflare Tunnel connector token (Zero Trust > Networks > Tunnels).
# Route public hostname search-api.theradicalparty.com -> http://localhost:3000.
CLOUDFLARED_TOKEN=