diff --git a/docker-compose.yml b/docker-compose.yml index 40a10a3..54efe1d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,8 @@ services: php-cli: image: php:8.2-apache + privileged: true restart: unless-stopped volumes: - .:/var/www/html + - /dev/bus/usb:/dev/bus/usb diff --git a/run.sh b/run.sh index 4782742..39df21e 100755 --- a/run.sh +++ b/run.sh @@ -65,6 +65,10 @@ function _start () { _stop _build + if command -v adb &> /dev/null; + then + adb kill-server + fi docker compose up -d }