Skip to content

Commit

Permalink
fix: remove tty and only mount usb subsystem
Browse files Browse the repository at this point in the history
closes #155
  • Loading branch information
acidicX authored Oct 29, 2024
1 parent 518edd1 commit f3f00d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

3 comments on commit f3f00d4

@jj358mhz
Copy link
Contributor

@jj358mhz jj358mhz commented on f3f00d4 Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@acidicX Should line 108 end with :rw

The instructions show it:
Image

@acidicX
Copy link
Contributor Author

@acidicX acidicX commented on f3f00d4 Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jj358mhz volumes are always rw by default :)

https://docs.docker.com/reference/compose-file/services/#short-syntax-5

rw: Read and write access. This is the default if none is specified.

@jj358mhz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, I read up on this right after I dropped the comment, sorry for the distraction @acidicX

Please sign in to comment.