SvxLink is a project that develops software targeting the ham radio community. It started out as an EchoLink application for Linux back in 2003 but has now evolved to be something much more advanced.
$ curl -fsSL get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
Ajouter le répertoire /config
ou renommer config_example
.
$ git clone https://github.com/f4hlv/svxlink-docker.git
$ cd svxlink-docker
Edit docker-compose.yml and run
$ docker compose up -d
./svxlink.conf:/etc/svxlink/svxlink.conf
Exemple pour svxlink.conf
./config/etc/svxlink:/etc/svxlink
./config/usr/svxlink:/usr/share/svxlink
./config/etc/svxlink:/etc/spotnik
(Pour le RRF)
Affiche les 500 dernières lignes
$ docker compose logs -f --tail=500
$ docker compose build --no-cache
$ docker compose up -d
version: '3.2'
services:
svxlink:
build:
context: .
dockerfile: Dockerfile
tty: true
stdin_open: true
container_name: svxlink
ports:
- 5198:5198/udp #Echolink
- 5199:5199/udp #Echolink
- 5200:5200/tcp #Echolink
# - 5300:5300 #svxreflector
volumes:
- /etc/localtime:/etc/localtime:ro
- ./config/etc/svxlink:/etc/svxlink
# - ./config/etc/spotnik:/etc/spotnik
- ./config/usr/svxlink:/usr/share/svxlink
- /sys/class/gpio/gpio22:/sys/class/gpio/gpio22 # GPIO Raspberry
- /sys/class/gpio/gpio24:/sys/class/gpio/gpio24 # GPIO Raspberry
- /sys/class/gpio/gpio17:/sys/class/gpio/gpio17 # GPIO Raspberry
- /sys/class/gpio/gpio23:/sys/class/gpio/gpio23 # GPIO Raspberry
- /dev/snd:/dev/snd
environment:
- GIT_URL=https://github.com/sm0svx/svxlink.git
# - GIT_BRANCH=master # Branche Github
- GIT_BRANCH=19.09.2
- NUM_CORES=4 # CPU
devices:
- /dev/snd:/dev/snd # Audio
restart: always