An easy way to have a 24/7 audio stream of music.
1# AutoRadio 2> An easy way to have a 24/7 audio stream of music. 3 4## Requirements 5- docker 6- docker-compose 7- Some music 8 9## Install 10- Copy `.env.example` to `.env` and edit it 11- Put music inside `music/` 12- Run `docker-compose up -d` 13- Listen to `http://localhost:8000/live` (if you changed `ICECAST_PORT`, edit the port in the URL) 14 15## Config 16Everything is set in the `.env` file (or in your shell environment). 17All settings are optional but please set the passwords or they will stay to the default, `hackme`. 18 19- `ICECAST_PORT`: The port to bind Icecast in the open. 20- `ICECAST_SOURCE_PASSWORD`: The password to stream audio to Icecast. 21- `ICECAST_ADMIN_PASSWORD`: The password for Icecast's administration. 22- `ICECAST_RELAY_PASSWORD`: The password for Icecast's relays. 23- `ICECAST_HOSTNAME`: The hostname of your Icecast installation. 24- `ICECAST_MAX_SOURCES`: The maximum amount of sources. 25- `STREAM_NAME`: A title for your stream. 26- `STREAM_DESC`: A description for your stream. 27- `STREAM_URL`: A URL (like your website) to show on the stream details. 28- `STREAM_MOUNTPOINT`: The name of the mountpoint that Liquidsoap will use. 29 30> Note for `ICECAST_MAX_SOURCES`: 31> If you plan to directly stream to Icecast on another mountpoint, you need to set this to `2` or more.