Skip to content

Opendigitalradio/docker-dabmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-publish

opendigitalradio/docker-dabmux

Introduction

This repository is part of a project aiming at containerizing the mmbTools software stack of Open Digital Radio. It features the dab multiplexer component.

You need to install docker or podman on your host to run the container image. Please adapt the instructions below, according to your choice.

How to get the container image on your host

You can either pull the container image from the internet or build it yourself.

Pull the image from internet

docker image pull opendigitalradio/dabmux

Build the image

git clone \
  https://github.com/opendigitalradio/dabmux.git \
  docker-dabmux
cd docker-dabmux
docker image build \
  --tag opendigitalradio/dabmux \
  .

Setup

  1. Declare your time zone:
    TZ=<your_time_zone>
    
  2. Declare your mux configuration file:
    MUX_CONFIG=<path_to_your_mux_configuration_file>
    
  3. The image exposes the following ports:
    • 9001 - 9016: incoming encoder streams
    • 9201: output stream
    • 12720: multiplexer server management port
    • 12721: multiplexer ftp port
    • 12722: multiplexer ZMQ RC port

Run the container

```
docker container run \
    --name odr-dabmux \
    --detach \
    --rm \
    --env "TZ=${TZ}" \
    --network odr \
    --publish 9001-9016:9001-9016 \
    --publish 9201:9201 \
    --publish 12720-12722:12720-12722 \
    --volume ${MUX_CONFIG}:/config/mux.ini \
    opendigitalradio/dabmux
```

Test

You can verify the dab multiplex output stream by following these steps:

  1. Ensure you installed wget and dablin packages on your host:
  2. Run the following command on your host:
    wget -q -O - localhost:9201 | dablin_gtk -f edi -I -1