Files
lingniu-vehicle-ingest/vehicle-map/.env.example
T

20 lines
944 B
Bash

VEHICLE_MAP_HOST=0.0.0.0
VEHICLE_MAP_PORT=20800
OPEN_PLATFORM_BASE_URL=https://open.d.lnoneos.com
OPEN_PLATFORM_APP_KEY=replace-with-32-character-app-key
UPSTREAM_TIMEOUT_SECONDS=15
DASHBOARD_CACHE_SECONDS=5
STATION_CACHE_SECONDS=3600
# Public station map: name, location, address and cooperation status only.
# Operations data (all vehicles and hydrogen volumes) requires this server-only code.
VEHICLE_MAP_AUTH_PROVIDER=local
VEHICLE_MAP_ACCESS_CODE=replace-with-an-access-code
VEHICLE_MAP_SESSION_SECRET=replace-with-at-least-32-random-characters
# An operations session expires after 30 minutes.
VEHICLE_MAP_SESSION_TTL_SECONDS=1800
# true behind the HTTPS production reverse proxy; false only for localhost development.
VEHICLE_MAP_COOKIE_SECURE=true
# For future unified authentication: set provider to auth-center and configure its introspection endpoint.
VEHICLE_MAP_AUTH_CENTER_INTROSPECTION_URL=
VEHICLE_MAP_AUTH_CENTER_CLIENT_TOKEN=