The openHAB 2.5.0 Update Process - My Experience

@BrutalBirdie found an example for an openHAB frontail compose file

To get the css & and the json file I followed this advice from @Dim:

In your docker compose folder:

mkdir frontail
wget "https://raw.githubusercontent.com/openhab/openhabian/master/includes/frontail-theme.css" -O ./frontail/openhab.css
wget "https://raw.githubusercontent.com/openhab/openhabian/master/includes/frontail-preset.json" -O ./frontail/preset.json

With that I got an working container with the following config:

  frontail:
    image: "mthenw/frontail:latest"
    container_name: "frontail"
    restart: always
    network_mode: host
    command: --disable-usage-stats --ui-highlight --ui-highlight-preset /frontail/preset/openhab.json -t openhab -n 200 /logs/openhab.log /logs/events.log
    depends_on:
      - openhab
    volumes: 
      - "${PWD}/frontail/preset.json:/frontail/preset/openhab.json:ro"
      - "${PWD}/frontail/openhab.css:/frontail/web/assets/styles/openhab.css:ro"
      - "${PWD}/openhab_userdata/logs:/logs:ro"
    ports:
      - "8001:9001"

EDIT: Added advice how to find the openhab frontail css & json files

1 Like