pltnk / docker-liquidsoap Goto Github PK
View Code? Open in Web Editor NEWDockerfile for running Liquidsoap in a container.
Home Page: https://hub.docker.com/r/pltnk/liquidsoap
License: MIT License
Dockerfile for running Liquidsoap in a container.
Home Page: https://hub.docker.com/r/pltnk/liquidsoap
License: MIT License
Building 2.2.5 fails:
STEP 10/11: RUN opam depext -y ${OPAM_PACKAGES} && opam install -y ${OPAM_PACKAGES} && eval $(opam env) && opam clean -acryv --logs --unused-repositories
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=ubuntu, os-family=debian
[ERROR] No solution for liquidsoap.2.2.5 & taglib & mad & lame & vorbis & cry & samplerate: Sorry, no solution found: there seems to be a problem with your request.
Command failed: opam list --readonly --external '--resolve=liquidsoap.2.2.5,taglib,mad,lame,vorbis,cry,samplerate' returned 20
Error: building at STEP "RUN opam depext -y ${OPAM_PACKAGES} && opam install -y ${OPAM_PACKAGES} && eval $(opam env) && opam clean -acryv --logs --unused-repositories": while running runtime: exit status 20
Thank you for taking the time to setup this docker container.
I've tried replacing my standalone liquidsoap setup by this container (use Portainer) but am running into the following issue, only for the /music
volume:
2022-09-26T21:29:03.727207000Z 2022/09/26 21:29:03 >>> LOG START
2022-09-26T21:29:03.727809000Z 2022/09/26 21:29:03 [main:3] Liquidsoap 2.0.3-1
2022-09-26T21:29:03.727964000Z 2022/09/26 21:29:03 [main:3] Using: graphics=[distributed with Ocaml] bytes=[distributed with OCaml 4.02 or above] pcre=7.4.6 sedlex=3.0 menhirLib=20211128 dtools=0.4.4 duppy=0.9.2 cry=0.6.7 mm=0.7.4 ogg=0.7.3 ogg.decoder=0.7.3 vorbis=0.8.0 vorbis.decoder=0.8.0 mad=0.5.2 dynlink=[distributed with Ocaml] lame=0.3.6 samplerate=0.1.6 taglib=0.3.10 camomile=1.0.2
2022-09-26T21:29:03.728085000Z 2022/09/26 21:29:03 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder.
2022-09-26T21:29:03.728198000Z 2022/09/26 21:29:03 [clock:3] Using builtin (low-precision) implementation for latency control
2022-09-26T21:29:03.728314000Z 2022/09/26 21:29:03 [lang:2] WARNING: "set" is deprecated and will be removed in future version. Please use `settings.path.to.key.set(value)`
2022-09-26T21:29:03.728410000Z 2022/09/26 21:29:03 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz main.
2022-09-26T21:29:03.728509000Z 2022/09/26 21:29:03 [frame:3] Video frame size set to: 1280x720
2022-09-26T21:29:03.728620000Z 2022/09/26 21:29:03 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples.
2022-09-26T21:29:03.728719000Z 2022/09/26 21:29:03 [frame:3] Targeting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks.
2022-09-26T21:29:03.728815000Z 2022/09/26 21:29:03 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks.
2022-09-26T21:29:03.728910000Z 2022/09/26 21:29:03 [sandbox:3] Running inside a docker container, disabling sandboxing.
2022-09-26T21:29:03.729010000Z 2022/09/26 21:29:03 [video.converter:3] Couldn't find preferred video converter: ffmpeg.
2022-09-26T21:29:03.729106000Z 2022/09/26 21:29:03 [audio.converter:3] Using samplerate converter: libsamplerate.
2022-09-26T21:29:03.729203000Z 2022/09/26 21:29:03 [single_0:3] /etc/liquidsoap/bisorofm.mp3 is static, resolving once for all...
2022-09-26T21:29:03.745039000Z 2022/09/26 21:29:03 [single_0:3] Prepared "/etc/liquidsoap/bisorofm.mp3" (RID 4).
2022-09-26T21:29:03.745211000Z 2022/09/26 21:29:03 [Bisoro_FM:3] Connecting mount stream for [email protected]...
2022-09-26T21:29:03.897988000Z 2022/09/26 21:29:03 [Bisoro_FM:2] Connection failed: SSL transport is not available
2022-09-26T21:29:03.898358000Z 2022/09/26 21:29:03 [Bisoro_FM:3] Will try again in 3.00 sec.
2022-09-26T21:29:03.898776000Z 2022/09/26 21:29:03 [clock.main:3] Streaming loop starts in auto-sync mode
2022-09-26T21:29:03.899026000Z 2022/09/26 21:29:03 [clock.main:3] Delegating synchronisation to CPU clock
2022-09-26T21:29:03.900856000Z 2022/09/26 21:29:03 [request:3] Read permission denied for "/music/VG Soundtrack/Gameboy/DMG Sound - Volume 2/19 - Battle! (Champion) - Pokémon Gold & Silver Versions.mp3"!
2022-09-26T21:29:03.901415000Z 2022/09/26 21:29:03 [request:3] Read permission denied for "/music/VG Soundtrack/Gameboy/DMG Sound - Volume 1/14 - Pokémon Mansion - Pokémon.mp3"!
This is my docker compose file:
---
version: "3.6"
services:
liquidsoap:
image: pltnk/liquidsoap
container_name: liquidsoap
restart: always
volumes:
- /portainer/Files/AppData/Config/liquidsoap:/etc/liquidsoap
- /mnt/music/Radio:/music
If I use the console into the container and try to access the /music
mounted volume, I do get access denied.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.