I want to display the Node-RED dashboard on the device with BalenaOS installed.
Is that possible to configure it that it starts in kiosk mode (start on boot + restart if stopped).
=> Browser start with url to http://localhost/ui
=> Restart browser if stopped
BalenaOS installed
Node-Red installed
Flow with Dashboard installed
However if you would like to test, check this project GitHub - mpous/ming where the docker-compose exposes the services that are going to run on the device/fleet.
Kiosk-Browser:
image: bh.cr/balenablocks/browser-aarch64 # where is one of aarch64, arm32 or amd64
privileged: true # required for UDEV to find plugged in peripherals such as a USB mouse
restart: always
ports:
- ‘5011’ # management API (optional)
- ‘35173’ # Chromium debugging port (optional)
network_mode: host
volumes:
- ‘settings:/data’ # Only required if using PERSISTENT flag (see below)
db:
image: mysql
# NOTE: use of “mysql_native_password” is not recommended: MySQL :: MySQL 8.0 Reference Manual :: 2.11.4 Changes in MySQL 8.0
# (this is just an example, not intended to be a production configuration)
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: mysql_native_password