D
DRISHTI Docker API Connector
Firebase Hosting -> ngrok -> local Docker API
Firebase Hosting -> ngrok -> local Docker API
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
- Run backend Docker:
docker compose up -d --build - Run ngrok Docker:
docker compose -f docker-compose.firebase.yml up -d ngrok - Get ngrok URL from
http://localhost:4040/api/tunnels. - Set
apiBaseinpublic/assets/js/drishti-runtime-config.json. - Republish Firebase Hosting.