Branded for Feierwerk, this Player shows live data via Sockets from an API (turboplayer2sockets) and plays an audio-stream
The Config shall be done via Environment Variables:
- API: Backend Server with Sockets and REST
- STREAM_MP3_1: First mp3 Stream for the player (Default: https://live.feierwerk.de:8443/live.mp3)
- STREAM_MP3_2: Second mp3 Stream for the player (Default: http://live.feierwerk.de:8000/live.mp3)
- STREAM_OGG_1: First ogg Stream for the player (Default: https://live.feierwerk.de:8443/live.ogg)
- STREAM_OGG_2: Second ogg Stream for the player (Default: http://live.feierwerk.de:8000/live.ogg)
Deploy it with the variables.
Example
docker run \
--env API="${WP_API}" \
--name webplayer \
--restart unless-stopped \
-p "${WP_PORT}":80 \
-d webplayer:latest