- Implemented device pairing with a four-digit code and TTL for remote settings. - Introduced automatic checks for device status and configuration validation. - Developed UI components for device setup and management, including error handling and retry options. - Created a device bridge for secure communication between the device and the server. - Added tests for managed state validation and device pairing logic. - Established a local end-to-end fixture for testing device service and API interactions.
20 lines
755 B
YAML
20 lines
755 B
YAML
services:
|
|
board:
|
|
build: .
|
|
restart: unless-stopped
|
|
init: true
|
|
environment:
|
|
RIDEBUS_API_BASE_URL: ${RIDEBUS_API_BASE_URL:-https://api.ridebus.by/}
|
|
RIDEBUS_API_KEY: ${RIDEBUS_API_KEY:-}
|
|
BOARD_CITY_ID: ${BOARD_CITY_ID:-1}
|
|
BOARD_CITY_NAME: ${BOARD_CITY_NAME:-Полоцк}
|
|
BOARD_STOP_NAME: ${BOARD_STOP_NAME:-Швейная фабрика}
|
|
BOARD_STOP_ID: ${BOARD_STOP_ID:-1}
|
|
BOARD_PWA_URL: ${BOARD_PWA_URL:-https://pwa.ridebus.by/}
|
|
OPEN_METEO_API_KEY: ${OPEN_METEO_API_KEY:-}
|
|
BOARD_REMOTE_SETTINGS: ${BOARD_REMOTE_SETTINGS:-false}
|
|
BOARD_ADMIN_URL: ${BOARD_ADMIN_URL:-}
|
|
BOARD_COOKIE_SECURE: ${BOARD_COOKIE_SECURE:-false}
|
|
ports:
|
|
- "127.0.0.1:${BOARD_PORT:-5180}:5180"
|