- Introduced `PageSeo` component for managing page metadata for social sharing. - Created Open Graph image templates using SVG and static fonts for better visual representation. - Implemented service alert management with functions to check active alerts and format route numbers. - Added utility functions for generating and watching alert validity. - Developed a script to generate Open Graph images dynamically based on page content. - Included tests for service alert functionalities to ensure correctness and reliability.
19 lines
459 B
YAML
19 lines
459 B
YAML
name: ridebus-landing
|
|
|
|
services:
|
|
ridebus-landing:
|
|
build: .
|
|
image: ridebus-landing:latest
|
|
init: true
|
|
restart: unless-stopped
|
|
ports:
|
|
- '${RIDEBUS_BIND_ADDRESS:-0.0.0.0}:${RIDEBUS_PORT:-3000}:3000'
|
|
environment:
|
|
RIDEBUS_API_BASE_URL: ${RIDEBUS_API_BASE_URL:-https://api.ridebus.by/}
|
|
RIDEBUS_API_KEY: ${RIDEBUS_API_KEY:-}
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: '10m'
|
|
max-file: '3'
|