Update Docker config for dual-SDR setup and arm64 compatibility

- Add slowrx SSTV decoder build with required deps (libsndfile1,
  libgtk-3-dev, libasound2-dev, libfftw3-dev) for arm64/RPi5 support
- Enable USB device passthrough (/dev/bus/usb) on both service profiles
- Add 'basic' profile to main intercept service for explicit selection
- Fix intercept-history container_name conflict (was duplicating 'intercept')

https://claude.ai/code/session_01FjLTkyELaqh27U1wEXngFQ
This commit is contained in:
Claude
2026-02-05 19:46:54 +00:00
parent 079ed216a8
commit 780ba9c58b
2 changed files with 24 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
# Docker Compose configuration for easy deployment
#
# Basic usage:
# docker compose up -d
# docker compose --profile basic up -d
#
# With ADS-B history (Postgres):
# docker compose --profile history up -d
@@ -11,14 +11,15 @@ services:
intercept:
build: .
container_name: intercept
profiles:
- basic
ports:
- "5050:5050"
# Privileged mode required for USB SDR device access
# Alternatively, use device mapping (see below)
privileged: true
# USB device mapping (alternative to privileged mode)
# devices:
# - /dev/bus/usb:/dev/bus/usb
# USB device mapping for all USB devices
devices:
- /dev/bus/usb:/dev/bus/usb
# volumes:
# Persist data directory
# - ./data:/app/data
@@ -54,14 +55,18 @@ services:
# Enable with: docker compose --profile history up -d
intercept-history:
build: .
container_name: intercept
container_name: intercept-history
profiles:
- history
depends_on:
- adsb_db
ports:
- "5050:5050"
# Privileged mode required for USB SDR device access
privileged: true
# USB device mapping for all USB devices
devices:
- /dev/bus/usb:/dev/bus/usb
environment:
- INTERCEPT_HOST=0.0.0.0
- INTERCEPT_PORT=5050