Skip to content

A multi-platform image for running Direwolf for APRS projects 📡

License

Notifications You must be signed in to change notification settings

Twenty2a/docker-direwolf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📡 docker-direwolf

A multi-platform image for running Direwolf for APRS projects

Installing

Docker

docker pull w2bro/direwolf

Kubernetes

helm repo add w2bro https://radio-charts.w2bro.dev
helm install w2bro/direwolf

Environment Variables

Variable Required Description
CALLSIGN Yes Your callsign & SSID, example N0CALL-10
PASSCODE Yes Passcode for igate login, find passcode here http://apps.magicbug.co.uk/passcode/
LATITUDE Yes Latitude for PBEACON, example 42^37.14N
LONGITUDE Yes Longitude for PBEACON, example 071^20.83W
COMMENT No Override PBEACON default comment, do not use the ~ character
SYMBOL No APRS symbol for PBEACON, defaults to igate
IGSERVER No Override with the APRS server for your region, default for North America noam.aprs2.net
ADEVICE No Override Direwolf's ADEVICE for digipeater, default is stdin null for receive-only igate
DWARGS No Set to add/pass any arguments to the direwolf executable, example -t 0 for no color logs

Environment Notes

IGSERVER The current preferred way is to use one of these regional rotate addresses: noam.aprs2.net - for North America soam.aprs2.net - for South America euro.aprs2.net - for Europe and Africa asia.aprs2.net - for Asia aunz.aprs2.net - for Oceania

Example Usage

Kubernetes

Example deployment to run on a k3s Raspberry Pi node with a RTL-SDR Blog v3 dongle plugged into one of the USB ports

apiVersion: apps/v1
kind: Deployment
metadata:
  name: aprs-igate
  namespace: ham-radio
spec:
  replicas: 1
  selector:
    matchLabels:
      app: aprs-igate
  template:
    metadata:
      labels:
        app: aprs-igate
    spec:
      nodeName: homelab-pi4b-node-attic-2
      containers:
      - name: direwolf
        image: w2bro/direwolf
        imagePullPolicy: Always
        securityContext:
          privileged: true
        env:
        - name: CALLSIGN
          value: N0CALL-10
        - name: PASSCODE
          value: "12345"
        - name: FREQUENCY
          value: 144.39M
        - name: LATITUDE
          value: 42^37.14N
        - name: LONGITUDE
          value: 071^20.83W
        volumeMounts:
        - mountPath: /dev/bus/usb/001/004
          name: rtl
      volumes:
      - name: rtl
        hostPath:
          path: /dev/bus/usb/001/004

About

A multi-platform image for running Direwolf for APRS projects 📡

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 63.4%
  • Shell 36.6%