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` 14 - Change `8000` with your `ICECAST_PORT`, `live` with your `STREAM_MOUNTPOINT` 15 16## Config 17Everything is set in the `.env` file (or in your shell environment). 18All settings are optional but please set the passwords or they will stay to the default, `hackme`. 19 20- `STREAM_NAME`: A title for your stream. 21- `STREAM_DESC`: A description for your stream. 22- `STREAM_URL`: An URL (like your website) to show on the stream details. 23- `STREAM_MOUNTPOINT`: The name of the mountpoint that Liquidsoap will use. 24- `ICECAST_PORT`: The port to bind Icecast in the open. 25- `ICECAST_SOURCE_PASSWORD`: The password to stream audio to Icecast. 26- `ICECAST_ADMIN_PASSWORD`: The password for Icecast's administration. 27- `ICECAST_RELAY_PASSWORD`: The password for Icecast's relays. 28- `ICECAST_HOSTNAME`: The hostname of your Icecast installation. 29- `ICECAST_MAX_SOURCES`: The maximum amount of sources. 30- `ICECAST_CHARSET`: Setting the encoding for the metadata. 31 32> Note for `ICECAST_MAX_SOURCES`: 33> If you plan to use this Icecast instance for more streams, you need to set this to `2` or more so you can use more mountpoints.