forked from sdr-enthusiasts/docker-aprs-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
32 lines (32 loc) · 1.04 KB
/
docker-compose.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
version: '3.8'
services:
aprs:
image: ghcr.io/sdr-enthusiasts/docker-aprs-tracker
container_name: aprs
hostname: aprs
restart: always
device_cgroup_rules:
- 'c 189:* rwm' # expose USB devices to the container
- 'c 166:* rwm' # expose Serial devices (incl. GPS Serial2USB devices) to the container
cap_add: # needed for chrony to be able to set the clock
- SYS_TIME
- SYS_RESOURCE
environment:
- VERBOSE=false
- MYCALL=NOCALL # set your callsign before using the container!
- DW_EXTRA_CONFIGS=TXDELAY=30
- DW_EXTRA_CMDLINEARGS=-r 48000
- DW_TB_COMMENT="Myname nocall@amsat.org"
- AUDIOLEVEL_TX=64
# - DW_DEBUG=tog
# - DW_DONTSTART=true
tmpfs:
- /run:exec,size=32M
- /tmp:size=32M
- /var/log:size=32M
ports:
- 2947:2947 # exposes the GPSD port in case you want to use it for other purposes on the device
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
- /dev:/dev:ro