A sample docker setup for streaming NOAA radio from a USB RTL-SDR dongle to Icecast, so you can listen to it as an m3u stream.
It should be straightforward to get this going, assuming you have Docker and compose setup:
- Clone this repo
- In your local copy, update the following:
ezstream.xml
(specifically thehostname
andpassword
fields). More examples can be found in theezstream
repo.icecast.xml
(specifically theauthentication
,location
,admin
,hostname
, andlisten-socket
sections). More details in the Icecast docs.- Edit line 14 in
start_noaa.sh
so that it is tuned to your local station's frequency (it's set to 162.550mhz by default)
- Move to the repo's directory and
docker-compose up -d
. - Point your browser to your Docker host's IP at port 8000 and login using the Icecast admin credentials. You should see something like this, click the m3u link in the upper right and enjoy.
- Find your area's frequency: https://www.weather.gov/nwr/station_listing
- The
-d 0
in line 14 indicates the first RTL-SDR dongle. If you want to add another docker image to stream another station, you'll need to change it to-d 1
(etc) in the new image. - If you hear a bunch of static, you may have an antenna that is not tuned for the FM bands, or your placement may be bad. Experiement a bit.