Frontail in Docker

Hi,

how can I access frontail in an openhab2 docker container? I previously installed Openhab2 on a RaspberryPi where I could access frontail through http://<ip>:9001, but that doesn’t work with the docker container anymore.

openhab:
  image: openhab/openhab:2.1.0-amd64
  container_name: openhab_container
  network_mode: "host"
  volumes:
    - "/etc/localtime:/etc/localtime:ro"
    - "/etc/timezone:/etc/timezone:ro"
    - "/path/to/openhab/addons:/openhab/addons"
    - "/path/to/openhab/conf:/openhab/conf"
    - "/path/to/openhab/userdata:/openhab/userdata"
  environment:
    OPENHAB_HTTP_PORT: "8080"
    OPENHAB_HTTPS_PORT: "8443"
  restart: unless-stopped

Any suggestions?

Thanks
Dominik

I don’t think frontail is a standard part of OH. I just ran a search through the official container and there is no frontail binary present.

However, the openHAB logs are being written out to /path/to/openhab/userdata/logs so you can install and configure frontail on your host.

2 Likes

I see, many thanks to you!