Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.64 KB

README.md

File metadata and controls

42 lines (36 loc) · 1.64 KB

docker-icecast2

Build Status Docker Pulls Docker Image Size License

Simple Dockerfile for running icecast2 in a container.
Just mount your icecast.xml file and you are good to go!

Works well with containerized Liquidsoap: pltnk/docker-liquidsoap

Installation

  • Pull the image from one of public Docker registries
    • Docker Hub docker pull pltnk/icecast2
    • GitHub Packages docker pull ghcr.io/pltnk/icecast2
    • Quay.io docker pull quay.io/pltnk/icecast2
  • Build the image yourself
    • docker build -t pltnk/icecast2 github.com/pltnk/docker-icecast2

Configuration

  • Mount your icecast.xml to /etc/icecast2/icecast.xml
  • Publish necessary ports

docker run

docker run --name icecast2 -d --restart=always \
--publish 8000:8000 \
--volume /path/to/your/icecast.xml:/etc/icecast2/icecast.xml \
pltnk/icecast2

docker-compose.yml

icecast2:
  image: pltnk/icecast2
  container_name: icecast2
  restart: always
  ports:
    - 8000:8000
  volumes:
    - /path/to/your/icecast.xml:/etc/icecast2/icecast.xml