ig-v1 / deploy /hosted.env.example
harshith99's picture
Fix: fast-fail on hosted URL fetch with clear error message
54d09f0
Raw
History Blame Contribute Delete
880 Bytes
# Hosted free-web deployment (HF Spaces / Render / …) β€” env template.
# Copy to deploy/hosted.env (gitignored) or set these as Space secrets/vars.
# For LOCAL Docker, do NOT use this file β€” docker-compose.yml already configures
# the local mode (Ollama on, server-side geocoding). See DEPLOY.md.
# No local model server on a shared host: hide Ollama, serve BYOK + chatbot.
OLLAMA_ENABLED=false
# Hosted mode. Refuses server-side bulk geocoding (OSM bans bulk use from one
# shared IP) and switches geocoding to the visitor's browser (client-side, from
# their own IP). No geocoder key needed β€” see DEPLOY.md "How geocoding works".
HOSTED=1
# Per-upload job dirs are deleted after this many hours.
JOB_TTL_HOURS=24
# Note: no ANTHROPIC_API_KEY here β€” users bring their own key (BYOK) or use the
# free chatbot path. And no NOMINATIM_URL β€” geocoding is client-side.