diff --git a/README.md b/README.md index eceeaa9..eec5fa4 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ You need to make sure that the USB device can be accessed by the container. The - 'c 189:* rwm' ... volumes: - - /dev:/dev:rw + - /dev/bus/usb:/dev/bus/usb:rw ``` The advantage of doing this (over simply adding a `device:` directive pointing at the USB port) is that the construction above will automatically recover if you "hot plug" your dongle. ⚠️This feature requires a recent version of docker-compose (version >=2.3). Make sure your system is up to date if dongles are not found. ⚠️ diff --git a/docker-compose.yml b/docker-compose.yml index 86247a4..98c4d00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,6 @@ services: # Note - if you want to enable telegraf for use with InfluxDB/Prometheus and Grafana, # use the following image instead: # image: ghcr.io/sdr-enthusiasts/docker-adsb-ultrafeeder:telegraf - tty: true container_name: ultrafeeder hostname: ultrafeeder restart: unless-stopped @@ -106,7 +105,7 @@ services: - /opt/adsb/ultrafeeder/globe_history:/var/globe_history - /opt/adsb/ultrafeeder/graphs1090:/var/lib/collectd - /proc/diskstats:/proc/diskstats:ro - - /dev:/dev:ro + - /dev/bus/usb:/dev/bus/usb tmpfs: - /run:exec,size=256M - /tmp:size=128M