add a docker compose test file which can be used to stream audio continuously

This commit is contained in:
2025-05-07 11:51:56 +02:00
parent d35a8bee2c
commit c368fd5c85
3 changed files with 44 additions and 6 deletions

22
docker-compose-test.yaml Normal file
View File

@@ -0,0 +1,22 @@
services:
multicaster:
container_name: multicaster-test
privileged: true # Grants full access to all devices (for serial access)
restart: unless-stopped
ports:
- "5000:5000"
build:
dockerfile: Dockerfile
ssh:
- default=~/.ssh/id_ed25519
volumes:
- "/dev/serial:/dev/serial"
#devices:
# - /dev/serial/by-id/usb-ZEPHYR_Zephyr_HCI_UART_sample_81BD14B8D71B5662-if00
environment:
LOG_LEVEL: INFO
#vpn only seems to initiate handshake after some outgoing connection is being made
#command: >
# bash -c "(while true; do ping -c 1 vpn.pstruebi.xyz || echo 'Ping failed'; sleep 60; done) & python ./auracast/multicast_server.py"
command: python ./auracast/multicast.py # continously streaming test app