This page lists configuration that changes a service's ability to start or serve requests. Values shown as secrets are names only. Keep actual credentials in local variables or the platform's secret store.

Web application

NameRequired or defaultSecretSourceFailure symptom
VITE_API_BASE_URLEmpty in the example; same-origin API is the normal deployment pathNoapps/web/.env.exampleRequests use the wrong API origin
VITE_MAPBOX_TOKENRequired when Mapbox map or place search is selectedPublic client tokenapps/web/.env.example and provider routerMap tiles or place search do not load
VITE_GEOAPIFY_KEYRequired only for the Geoapify provider pathClient keyapps/web/.env.exampleThe configured place-search fallback cannot resolve a place
VITE_FEATURE_FARESfalse in the exampleNoapps/web/.env.exampleFare UI is enabled or hidden unexpectedly
VITE_FEATURE_BUS_TRACKERtrue in the exampleNoapps/web/.env.exampleTracker entry points are enabled or hidden unexpectedly
VITE_FEATURE_OFFLINE_ROUTINGtrue in the exampleNoapps/web/.env.examplePlanner-image loading is disabled
VITE_ERROR_MONITORING_URLEmpty unless monitoring is configuredNoapps/web/.env.exampleClient errors have no configured reporting destination
VITE_APP_VERSION0.1.0 in the exampleNoapps/web/.env.exampleClient diagnostics report the wrong application version

The map token is exposed to the browser by design. It still needs provider-side restrictions. Do not put an API secret in a VITE_ variable.

API Worker

Name or bindingRequired or defaultSecretSourceFailure symptom
AI_ENABLEDfalse in Wrangler deployment configuration; local example is trueNoapps/api/wrangler.jsonc, apps/api/.env.exampleAssistant requests return unavailable or the model path is enabled
AI_MODEL@cf/meta/llama-3.3-70b-instruct-fp8-fast in the local exampleNoapps/api/.env.exampleModel selection fails or changes evaluation results
AI_GATEWAY_IDdavao-transit in the local exampleNoapps/api/.env.exampleGateway attribution or provider routing is wrong
AI_EVAL_ENDPOINTEmpty unless remote evaluation is usedEndpoint may be privateapps/api/.env.exampleEvaluation exits without running remote cases
AI_EVAL_TOKENEmpty unless remote evaluation is usedYesapps/api/.env.exampleRemote evaluation cannot authenticate
AIWorker AI bindingPlatform bindingapps/api/wrangler.jsoncIntent extraction cannot call Workers AI
AI_RATE_LIMITERRate-limit binding with a 10 requests per 60 seconds rule in the current Wrangler filePlatform bindingapps/api/wrangler.jsoncAssistant requests return an unavailable response when the binding is missing or unavailable
COLLECTORRemote service binding to collectorPlatform bindingapps/api/wrangler.jsoncLive-data requests cannot reach the collector
BUS_ROUTE_TILESR2 bucket davao-transit-bus-route-tilesPlatform bindingapps/api/wrangler.jsoncVector-tile requests fall back or return unavailable

The deployment file and local example intentionally differ for AI_ENABLED. Check the target environment before interpreting an assistant failure as a schema or model failure.

Collector Worker

Name or bindingRequired or defaultSecretSourceFailure symptom
DBD1 binding collector-dbPlatform bindingpackages/collector/wrangler.jsoncRaw observations and derived records cannot be stored
COLLECTORDurable Object class VehicleCollectorPlatform bindingpackages/collector/wrangler.jsoncCollection scheduling and coordination are unavailable
ROAD_PROCESSORDurable Object class RoadIntelligenceProcessorPlatform bindingpackages/collector/wrangler.jsoncRoad samples remain queued or unprocessed
VALHALLA_URLhttps://valhalla1.openstreetmap.de in the current configurationNopackages/collector/wrangler.jsoncRoad matching is disabled or fails while raw and transit processing can continue
VEHICLE_SCHEDULE_URLSet in local variables for the upstream feedUsually privatepackages/collector/.env.exampleCollector cannot obtain the active vehicle schedule
VEHICLE_LOCATION_URLSet in local variables for the upstream feedUsually privatepackages/collector/.env.exampleCollector cannot obtain vehicle locations
ADMIN_TOKENSet for protected collector controlsYespackages/collector/.env.example and collector sourceAdministrative collector requests are rejected

The collector can retain raw observations when Valhalla or a later derived step fails. A missing vehicle feed is a source failure and should not be diagnosed as a route-projection failure.

Dashboard

Name or bindingRequired or defaultSecretSourceFailure symptom
ACCESS_TEAM_DOMAINhttps://svene.cloudflareaccess.com in the current configurationNoapps/dashboard/wrangler.jsoncAccess JWT issuer or certificate lookup fails
ACCESS_AUDCurrent Access audience in Wrangler configurationNoapps/dashboard/wrangler.jsoncA valid token for another Access application is rejected
ADMIN_EMAILRequired secretYesapps/dashboard/wrangler.jsoncLocal share or admin checks cannot identify the configured operator
SHARE_SECRETRequired secret with at least 32 charactersYesapps/dashboard/src/index.tsShare-token creation or verification fails
COLLECTOR_SERVICERemote service binding to collectorPlatform bindingapps/dashboard/wrangler.jsoncDashboard data requests cannot reach collector state
ASSETSDashboard asset bindingPlatform bindingapps/dashboard/wrangler.jsoncStatic dashboard files are not served

For the security boundary and its remaining assumptions, read Security and authentication. For startup and migration commands, read Local development.