mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 05:10:12 +00:00
commit
be0ef15efc
2 changed files with 2 additions and 3 deletions
|
@ -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. ⚠️
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue