40 lines
1.8 KiB
Bash
40 lines
1.8 KiB
Bash
NODE_ENV=production
|
|
HOST=127.0.0.1
|
|
PORT=8787
|
|
DATABASE_PATH=/var/lib/pi-car-companion/companion.db
|
|
SESSION_TTL_HOURS=24
|
|
COOKIE_SECURE=false
|
|
# Comma-separated exact origins. Set when the dashboard is served by another origin.
|
|
ALLOWED_ORIGINS=http://mg4pi.local:8787
|
|
UPDATE_STATUS_PATH=/var/lib/pi-car-companion/update-status.json
|
|
VERSION_FILE=/opt/pi-car-companion/current/REVISION
|
|
# Disabled until `sudo pi-car-companion-network-setup` creates the recovery hotspot.
|
|
NETWORK_MANAGER_ENABLED=false
|
|
NETWORK_STATUS_PATH=/var/lib/pi-car-companion/network-status.json
|
|
NETWORK_COMMAND_PATH=/var/lib/pi-car-companion/network-command.json
|
|
NETWORK_CONFIGURATION_REQUEST_PATH=/var/lib/pi-car-companion/network-configuration-request.json
|
|
NETWORK_ACTIVITY_PATH=/var/lib/pi-car-companion/network-activity.json
|
|
NETWORK_HOTSPOT_INTERFACE=wlan0
|
|
NETWORK_UPSTREAM_INTERFACE=wlan1
|
|
NETWORK_HOTSPOT_CONNECTION=pi-car-hotspot
|
|
NETWORK_PROBE_TIMEOUT_SECONDS=60
|
|
NETWORK_STABILITY_SECONDS=10
|
|
NETWORK_POLL_SECONDS=5
|
|
# On a Raspberry Pi install this is enabled, but capture still starts only when
|
|
# a user explicitly starts a session from the Wardriving UI.
|
|
WARDRIVING_ENABLED=false
|
|
WARDRIVING_STATUS_PATH=/var/lib/pi-car-companion/wardriving-status.json
|
|
WARDRIVING_KISMET_URL=http://127.0.0.1:2501
|
|
WARDRIVING_KISMET_AUTH_PATH=/var/lib/pi-car-companion/kismet/kismet-api-credentials.json
|
|
WARDRIVING_POLL_SECONDS=5
|
|
WARDRIVING_MAX_SIGHTINGS=250000
|
|
# Leave WiFi empty for automatic selection of a third adapter. Never use wlan0
|
|
# (hotspot) or wlan1 (upstream). Set Bluetooth empty to disable its source.
|
|
WARDRIVING_WIFI_INTERFACE=
|
|
WARDRIVING_BLUETOOTH_INTERFACE=hci0
|
|
# Disabled by default. Leave ADB_SERIAL empty to auto-select only when exactly one device is attached.
|
|
ADB_ENABLED=false
|
|
ADB_PATH=adb
|
|
ADB_SERIAL=
|
|
ADB_TIMEOUT_MS=3000
|