mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
39 lines
660 B
Markdown
39 lines
660 B
Markdown
icecast
|
|
=======
|
|
|
|
[Icecast][1] is a streaming media project released as free software maintained
|
|
by the Xiph.org Foundation.
|
|
|
|
## docker-compose.yml
|
|
|
|
```yaml
|
|
version: "3.8"
|
|
services:
|
|
icecast:
|
|
image: vimagick/icecast
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
# ./data/etc:/etc/icecast:ro
|
|
- ./data/log:/var/log/icecast:rw
|
|
restart: unless-stopped
|
|
```
|
|
|
|
> You can mount custom config file: [icecast.xml][2]
|
|
|
|
## Server Setup
|
|
|
|
```bash
|
|
$ mkdir -p data/{etc,log}
|
|
$ chmod -R 777 data/log
|
|
$ docker-compose up -d
|
|
```
|
|
|
|
## Client Setup
|
|
|
|
- Linux: ices
|
|
- MacOS: butt
|
|
|
|
[1]: http://icecast.org/
|
|
[2]: https://github.com/xiph/Icecast-Server/tree/master/conf
|