https://github.com/welteki/docker_frontail_openhab
openHAB log viewer
https://github.com/welteki/docker_frontail_openhab
Last synced: 3 months ago
JSON representation
openHAB log viewer
- Host: GitHub
- URL: https://github.com/welteki/docker_frontail_openhab
- Owner: welteki
- License: mit
- Created: 2018-08-29T06:27:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-10T13:37:38.000Z (almost 4 years ago)
- Last Synced: 2025-02-23T06:03:37.248Z (3 months ago)
- Language: Dockerfile
- Size: 14.6 KB
- Stars: 10
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/welteki/frontail-openhab)
[](https://github.com/welteki/docker_frontail_openhab)## openHAB log viewer
Docker image to view your openHAB logs. Runs frontail to stream logs to the browser. Has the openHAB theme applied to it like in [openhabian](https://www.openhab.org/docs/installation/openhabian.html).

### Usage
#### Using docker named volumes
If you did set up your openhab container using docker named volumes you can just mount the userdata volume as demonstrated in the following configuration.
```
docker run -d \
--name frontail-openhab \
-p 9001:9001 \
-v openhab_userdata:/openhab/userdata:ro \
welteki/frontail-openhab:latest
```#### Mounting log files from host directory
```
docker run -d \
--name frontail-openhab \
-p 9001:9001 \
-v /opt/openhab/userdata/logs:/var/log/openhab:ro \
welteki/frontail-openhab:latest
```#### Enabling dark mode
The dark theme can be enabled by setting the `FRONTAIL_THEME` environment variable. To do this just add `-e FRONTAIL_THEME=openhab_dark` to your docker run arguments.
#### Apply additional options
To pass additional options to frontail the environment variable `FRONTAIL_OPTS` can be set. For example, when running behind a reverse proxy add `-e "FRONTAIL_OPTS=--url-path /frontail"`.
## License
MIT (c) 2018 Han Verstraete https://github.com/welteki