Skip to content

Instantly share code, notes, and snippets.

@kng
Created May 19, 2023 19:15
Show Gist options
  • Save kng/a3a316e5844aba718c08baa3bfdce174 to your computer and use it in GitHub Desktop.
Save kng/a3a316e5844aba718c08baa3bfdce174 to your computer and use it in GitHub Desktop.
Radiosonde auto rx under docker compose
Fetch the https://github.com/projecthorus/radiosonde_auto_rx/blob/master/auto_rx/station.cfg.example as station.cfg and edit.
Create log dir.
Start with: docker compose up -d
version: '3.8'
services:
radiosonde_auto_rx:
image: 'ghcr.io/projecthorus/radiosonde_auto_rx:latest'
build:
context: .
read_only: true
restart: 'unless-stopped'
#network: 'host'
init: true
entrypoint: ''
ports:
- '5000:5000'
device_cgroup_rules:
- 'c 189:* rwm'
devices:
- '/dev/bus/usb'
volumes:
- type: 'bind'
source: 'station.cfg'
target: '/opt/auto_rx/station.cfg'
read_only: true
- type: 'bind'
source: 'log/'
target: '/opt/auto_rx/log/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment