41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
server:
|
|
host: 0.0.0.0
|
|
port: 19090
|
|
|
|
vehicle:
|
|
vehicle_id: vehicle-test-001
|
|
vin: vehicle-test-001
|
|
current_release: vehicle-release-0.0.1
|
|
|
|
cloud:
|
|
base_url: http://your-ota-server:8080
|
|
heartbeat_path: /api/agent/heartbeat
|
|
update_check_path: /api/agent/update-check
|
|
report_path: /api/agent/report
|
|
timeout_seconds: 10
|
|
token: change-me
|
|
token_header: X-OTA-TOKEN
|
|
|
|
compose:
|
|
working_dir: D:/Procedure/noblelift/hangzhou/OTA-Agent/runtime
|
|
file: docker-compose.yml
|
|
env_file: ota-images.env
|
|
backup_env_file: ota-images.env.bak
|
|
pull_command: docker compose pull
|
|
up_command: docker compose up -d
|
|
health_check_seconds: 30
|
|
healthcheck_interval_seconds: 3
|
|
healthcheck_url: http://127.0.0.1:8081/actuator/health
|
|
|
|
polling:
|
|
update_interval_seconds: 30
|
|
heartbeat_interval_seconds: 30
|
|
|
|
storage:
|
|
state_file: D:/Procedure/noblelift/hangzhou/OTA-Agent/runtime/state.json
|
|
manifest_dir: D:/Procedure/noblelift/hangzhou/OTA-Agent/runtime/manifests
|
|
log_dir: D:/Procedure/noblelift/hangzhou/OTA-Agent/runtime/logsmysql_backup:
|
|
enabled: false
|
|
backup_dir: D:/Procedure/noblelift/hangzhou/OTA-Agent/runtime/mysql-backups
|
|
dump_command: docker exec mysql mysqldump -uroot -p123456 app_db > {backup_file}
|
|
timeout_seconds: 120 |