-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
38 lines (38 loc) · 1.63 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
33
34
35
36
37
38
services:
noisecapt:
image: ghcr.io/kx1t/docker-noisecapt
tty: true
container_name: noisecapt
hostname: noisecapt
restart: always
devices:
- /dev/snd:/dev/snd
# ports:
# - 30088:80
environment:
- TZ=${FEEDER_TZ}
# Noisecapt produces lots of data. This is the retention time in hours
# If you make it more than 2 (hrs), you should also increase the tmpfs size
# for /run
- PF_DELETEAFTER=2
# This defines the capure time blocks, you shpuld probably leave this alone:
- PF_CAPTURETIME=5
#- PF_AUDIOCARD=2
#- PF_AUDIODEVICE=0
#- PF_ALSA_MANUAL=ON
#
# The following parameter configures if MP3 audio files are saved for the recordings.
# WARNINGS !!! Recording MP3 audio files:
# - takes up (a lot of) disk space
# - causes a lot of write IO cycles, potentially shortening the lifespan of the SD card
# - uses a lot of CPU, adding substantially to the system load
# - may be ILLEGAL in your jurisdiction or subject to notification or consent laws or regulations
# Please consult with an attorney or legal professional before deploying - we disclaim any liability or responsibility.
# !!!! ONLY USE NOISECAPT IN COMPLIANCE WITH LAWS, BY-LAWS, AND OTHER REGULATIONS IN YOUR JURISDICTION !!!!
- RECORD_MP3=off
tmpfs:
- /run:rw,nosuid,nodev,exec,relatime,size=256M
- /tmp:rw,nosuid,nodev,noexec,relatime,size=128M
# Optional - if you map the directory below to a volume, your noise measurements will persist through restarts of the container
volumes:
- /opt/adsb/noisecapt:/run/noisecapt