feat(collector): add websocket

This commit is contained in:
2025-12-28 22:24:23 +03:00
parent 7334855ba2
commit e6f361def4
6 changed files with 252 additions and 49 deletions

View File

@@ -36,6 +36,10 @@ services:
DB_NAME: ${DB_NAME:-audio_analyzer}
DB_USER: ${DB_USER:-postgres}
DB_PASSWORD: ${DB_PASSWORD:-postgres}
WS_HOST: 0.0.0.0
WS_PORT: 8000
ports:
- "8001:8000"
devices:
- "${SERIAL_PORT:-/dev/ttyACM0}:${SERIAL_PORT:-/dev/ttyACM0}"
networks: