Skip to content

iframe

If you want to display custom content in Kiosk, you can use iframes.

Settings

Key Value
CONFIG iframe
ENV KIOSK_IFRAME
URL N/A
VALUE []string
DEFAULT ""
Using with config.yaml file
iframe:
- https://example.com
- ./weather.html # Local file in same directory
- ./content/dashboard.html # Local file in subdirectory
Using with ENV in your docker-compose file
environment:
KIOSK_IFRAME: "https://example.com, ./weather.html, ./content/dashboard.html"

You can configure Kiosk to display external or local HTML content using iframes. This can be set in your config.yaml file:

iframe: "https://example.com" # Remote URL

For local files, they must be .html files and at the same level or in a subdirectory of the Kiosk application:

iframe:
- "./weather.html" # Local file in same directory
- "./content/dashboard.html" # Local file in subdirectory