Last active
December 28, 2022 14:39
-
-
Save kng/d85b9515147f713d191fd8d49ac6f302 to your computer and use it in GitHub Desktop.
SatNOGS librespace docker client with addons
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: | |
rigctld: | |
image: 'librespace/hamlib:4.0' | |
user: '999' | |
read_only: true | |
environment: | |
MODEL: '1' | |
restart: 'unless-stopped' | |
command: 'rigctld' | |
networks: | |
default: | |
ipv4_address: '172.30.0.2' | |
satnogs_client: | |
image: 'knegge/satnogs-client:lsf-addons' | |
#image: 'librespace/satnogs-client:master' | |
user: '999' | |
read_only: true | |
device_cgroup_rules: | |
- 'c 189:* rwm' | |
networks: | |
default: | |
ipv4_address: '172.30.0.3' | |
init: true | |
environment: | |
SATNOGS_API_TOKEN: '' | |
SATNOGS_DB_API_TOKEN: '' | |
SATNOGS_SOAPY_RX_DEVICE: 'driver=rtlsdr' | |
SATNOGS_ANTENNA: 'RX' | |
SATNOGS_RX_SAMP_RATE: '2.048e6' | |
SATNOGS_PPM_ERROR: '0' | |
SATNOGS_RF_GAIN: '40' | |
SATNOGS_STATION_ELEV: '' | |
SATNOGS_STATION_ID: '' | |
SATNOGS_STATION_LAT: '' | |
SATNOGS_STATION_LON: '' | |
SATNOGS_LOG_LEVEL: 'INFO' | |
SATNOGS_RIG_IP: 'rigctld' | |
SATNOGS_PRE_OBSERVATION_SCRIPT: 'satnogs-pre {{ID}} {{FREQ}} {{TLE}} {{TIMESTAMP}} {{BAUD}} {{SCRIPT_NAME}}' | |
SATNOGS_POST_OBSERVATION_SCRIPT: 'satnogs-post {{ID}} {{FREQ}} {{TLE}} {{TIMESTAMP}} {{BAUD}} {{SCRIPT_NAME}}' | |
UDP_DUMP_HOST: '0.0.0.0' | |
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' | |
networks: | |
default: | |
ipam: | |
driver: 'default' | |
config: | |
- subnet: '172.30.0.0/24' | |
volumes: | |
satnogs-client: |
init is required when using gr_satellites etc, otherwise ends up with defunct processes.
named volume for persitant varstate data between compose down/up instead of creating new ones every time.
network static ip for workaround on flowgraphs rig ip setting.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Image is built with this Dockerfile