-
Notifications
You must be signed in to change notification settings - Fork 2
/
offline.yml
60 lines (60 loc) · 1.37 KB
/
offline.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
---
# VOL_PREFIX=/data RECORDING=/logs/fm.sigmf-meta docker compose -f offline.yml up gamutrf
networks:
gamutrf:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 9000
default:
external: true
name: none
services:
mqtt:
restart: no
image: iqtlabs/edgetech-mqtt-dev:v1.0
networks:
- gamutrf
ports:
- '1883:1883'
gamutrf:
restart: no
image: iqtlabs/gamutrf:v0.5.71
privileged: true
networks:
- gamutrf
ports:
- '9001:9001'
- '10000:10000'
- '10001:10001'
- '10002:10002'
cap_add:
- SYS_NICE
- SYS_RAWIO
volumes:
- '${VOL_PREFIX}:/logs'
- '/tmp/.X11-unix:/tmp/.X11-unix'
environment:
- 'HOME=/logs'
- 'XDG_RUNTIME_DIR=/tmp'
- 'NVIDIA_DRIVER_CAPABILITIES=all'
- 'NVIDIA_VISIBLE_DEVICES=all'
- DISPLAY
command:
- gamutrf-offline
- '${RECORDING}'
- --nfft=1024
- --tune-step-fft=512
- --tuneoverlap=1
- --bucket_range=1
- --pretune
- --sample_dir=/logs/samples
- --write_samples=100000000
- --iq_inference_model_server=torchserve:8080
- --iq_inference_model_name=torchsig_model
- --no-iq_inference_background
- --no-vkfft
healthcheck:
test: [CMD, "/gamutrf/bin/scanhc.sh", "9000"]
interval: 10s
timeout: 10s
retries: 3