Skip to content

Instantly share code, notes, and snippets.

@kng
Created December 30, 2022 19:12
Show Gist options
  • Save kng/a8884d0eba3f01afb98c3f2c83852f81 to your computer and use it in GitHub Desktop.
Save kng/a8884d0eba3f01afb98c3f2c83852f81 to your computer and use it in GitHub Desktop.
SatNOGS librespace docker client with addons, running rigctl mods for doppler control
version: '3.8'
services:
rigctld:
image: 'librespace/hamlib:4.0'
user: '999'
read_only: true
environment:
MODEL: '1'
restart: 'unless-stopped'
command: 'rigctld'
rotctld:
image: 'librespace/hamlib:4.0'
user: '999'
read_only: true
environment:
MODEL: '1'
# devices:
# - '/dev/ttyUSB1:/dev/ttyUSB1'
restart: 'unless-stopped'
command: 'rotctld'
satnogs_client:
image: 'librespace/satnogs-client:addons'
user: '999'
read_only: true
device_cgroup_rules:
- 'c 189:* rwm'
init: true
env_file:
- ./station-xxxx.env
environment:
SATNOGS_RIG_IP: 'rigctld'
SATNOGS_ROT_MODEL: 'ROT_MODEL_NETROTCTL'
SATNOGS_ROT_PORT: 'rotctld:4533'
command: 'satnogs-client'
volumes:
- type: 'tmpfs'
target: '/tmp'
- type: 'volume'
source: 'satnogs-client'
target: '/var/lib/satnogs-client'
- '/dev/bus/usb:/dev/bus/usb'
restart: 'unless-stopped'
volumes:
satnogs-client:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment