Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,15 @@ services:
- ${DATA_DIR:-/data/retina-node}/blah2/test:/opt/blah2/test
network_mode: host
pid: "host"
privileged: true # Required for USB SDR access
command: bash -c "/opt/blah2/sdrplay-restart.sh && /opt/blah2/bin/blah2 -c /opt/blah2/config/config.yml"
privileged: true
# Command: restart SDRplay services -> start app with pre-merged config
command: >
bash -c "
echo 'Restarting SDRplay services...' &&
pkill -9 -x blah2 2>/dev/null || true &&
pkill -9 -x sdrplay_apiService 2>/dev/null || true &&
/opt/blah2/bin/blah2 -c /opt/blah2/config/config.yml
"
container_name: blah2

blah2_web:
Expand Down
Loading