D
DRISHTI Docker API Connector
Firebase Hosting -> ngrok -> local Docker API
Back to Home

Point the Firebase site at your Docker API.

Paste your ngrok API base URL below. The page stores it in this browser and tests live endpoints from the Docker FastAPI container. For every visitor, set the same URL in /assets/js/drishti-runtime-config.json before publishing Firebase.

Checking API base...

Live Test

These calls go directly from this Firebase page to your Docker API through ngrok.

Waiting...

Publish Flow

  1. Run backend Docker: docker compose up -d --build
  2. Run ngrok Docker: docker compose -f docker-compose.firebase.yml up -d ngrok
  3. Get ngrok URL from http://localhost:4040/api/tunnels.
  4. Set apiBase in public/assets/js/drishti-runtime-config.json.
  5. Republish Firebase Hosting.