Skip to content

cdhowie/docker-liquidsoap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-liquidsoap

Build Status Docker Pulls Docker Image Size License

Dockerfile for running Liquidsoap in a container.
Just mount your Liquidsoap script, music directory and you are good to go!

Works well with containerized icecast2: pltnk/docker-icecast2

Installation

  • Pull the image from one of public Docker registries, supported tags: 1.4.4, 2.0.0, latest
    • Docker Hub docker pull pltnk/liquidsoap
    • GitHub Packages docker pull ghcr.io/pltnk/liquidsoap
    • Quay.io docker pull quay.io/pltnk/liquidsoap
  • Build the image yourself
    • docker build -t pltnk/liquidsoap github.com/pltnk/docker-liquidsoap
    • Add build arg LIQUIDSOAP_VERSION to specify the version of Liquidsoap to use in the image, check available versions here.
      Example: docker build -t pltnk/liquidsoap:1.4.4 --build-arg LIQUIDSOAP_VERSION=1.4.4 github.com/pltnk/docker-liquidsoap

Configuration

  • Mount your Liquidsoap script file to /etc/liquidsoap/script.liq
  • Mount your music directory to /music
  • In your Liquidsoap script change path to your music directory to /music

docker run

docker run --name liquidsoap -d --restart=always \
--volume /path/to/your/script.liq:/etc/liquidsoap/script.liq \
--volume /path/to/your/music:/music \
pltnk/liquidsoap

docker-compose.yml

liquidsoap:
  image: pltnk/liquidsoap
  container_name: liquidsoap
  restart: always
  volumes:
    - /path/to/your/script.liq:/etc/liquidsoap/script.liq
    - /path/to/your/music:/music

About

Dockerfile for running Liquidsoap in a container.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%