Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 1.05 KB

README.md

File metadata and controls

17 lines (15 loc) · 1.05 KB

ha-bridge

ha-bridge docker container similar to this ha-bridge image but not running as root, using ubuntu as it's base image, and it allows you to run the container as read only and have the bridge configuration reset (either blank config or using the config files included in the startup-config directory) on the container restarting

also includes generic script @ /ha-bridge-scripts/send_nc to send commands to hs100/hs110 api container or wol container

Example usage

docker run -d --read-only --restart=always \
       --tmpfs=/config/data/:uid=99,gid=100 \
       -e SERVERIP="192.168.86.100" -p 80:80 \
       --net="host" \
       -v /etc/localtime:/etc/localtime:ro \
       -v /etc/timezone:/etc/timezone:ro \
       -v /some_path/device.db:/config/startup-config/device.db:ro \
       -v /some_path/habridge.config:/config/startup-config/habridge.config:ro \
       --name ha-bridge ha-bridge