homeassistant-docker-venv
homeassistant-docker-venv copied to clipboard
Allow bind to privileged ports
Im adding the Ps4 integration to HA and this requires HA to bind to port 987 which is not allowed when not running as root. In order to get around this I had to ssh to the container and run
setcap 'cap_net_bind_service=+ep' /usr/local/bin/python3.9
This won't survive container upgrades so is it possible to add this into the run script?