Created
May 19, 2023 19:15
-
-
Save kng/a3a316e5844aba718c08baa3bfdce174 to your computer and use it in GitHub Desktop.
Radiosonde auto rx under docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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