-
Notifications
You must be signed in to change notification settings - Fork 2
/
scanner.yml
98 lines (98 loc) · 2.54 KB
/
scanner.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
networks:
gamutrf:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 9000
default:
external: true
name: none
services:
mqtt:
restart: always
image: iqtlabs/edgetech-mqtt-dev:v1.0
networks:
- gamutrf
ports:
- '1883:1883'
gamutrf:
restart: always
image: iqtlabs/gamutrf:v0.5.71
networks:
- gamutrf
ports:
- '9001:9001'
- '10000:10000'
- '10001:10001'
- '10002:10002'
cap_add:
- SYS_NICE
- SYS_RAWIO
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/dri/renderD128:/dev/dri/renderD128
# nvidia container toolkit etc must be installed.
# Comment out "deploy" if on non-x86 platform (e.g. Pi4)
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
volumes:
- '${VOL_PREFIX}:/logs'
# cause FFT wisdom to be cached.
environment:
- 'HOME=/logs'
command:
- gamutrf-scan
- --iq_zmq_addr=0.0.0.0
- --iq_zmq_port=10002
- --fft_zmq_addr=0.0.0.0
- --fft_zmq_port=10000
- --igain=40
- '--freq-start=${FREQ_START}'
- '--freq-end=${FREQ_END}'
# - --tuning_ranges=905e6-930e6,2.2e9-2.6e9,5.1e9-5.9e9
- --samp-rate=20.48e6
- --nfft=1024
- --tune-dwell-ms=0
- --tune-step-fft=512
- --db_clamp_floor=-150
- --fft_batch_size=256
- --mqtt_server=mqtt
- --no-compass
- --peak_fft_range=50
- --use_external_gps
- --use_external_heading
- --no-vkfft
- --rotate_secs=60
- --colormap=20
- --tune-jitter-hz=0
- --pretune
# - --external_gps_server=1.2.3.4
# - --external_gps_server_port=8888
- --inference_text_color=black
# - --inference_output_dir=/logs/inference
- --inference_addr=0.0.0.0
- --inference_port=10001
- --inference_min_confidence=0.25
- --inference_min_db=-1e9
- --inference_text_color=black
- --n_inference=7
- --n_image=7
# - --inference_model_server=torchserve:8080
# - --inference_model_name=mini2_snr
- --iq_inference_squelch_db=-50
- --iq_inference_model_server=torchserve:8080
- --iq_inference_model_name=torchsig_model
- --inference_batch=1
# - --write_samples=1000000000
- --no-write_fft_points
- --sample_dir=/logs/samples
healthcheck:
test: [CMD, "/gamutrf/bin/scanhc.sh", "9000"]
interval: 10s
timeout: 10s
retries: 3