Skip to content

Commit

Permalink
feat: Add audio device support in Docker container systemd service
Browse files Browse the repository at this point in the history
- Mount `/dev/snd` device to enable audio input in the Docker container
- Ensure proper sound device access for BirdNET-Go service
  • Loading branch information
tphakala committed Feb 21, 2025
1 parent e8c9637 commit 34b4a4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1127,6 +1127,7 @@ Requires=docker.service
Restart=always
ExecStart=/usr/bin/docker run --rm \\
-p 8080:8080 \\
--device /dev/snd \\
--env TZ="${TZ}" \\
${AUDIO_ENV} \\
-v ${CONFIG_DIR}:/config \\
Expand Down

0 comments on commit 34b4a4b

Please sign in to comment.