feat: resolve chromecast discovery conflict and add CI/CD workflow
Build and Push Docker Image / build-and-push (push) Failing after 10m6s

- Update Zeroconf to unicast mode to resolve port 5353 conflict with avahi-daemon
- Make API and Streamlit ports configurable via environment variables (defaults: 8055, 8505)
- Add Gitea Actions workflow for automated Docker builds and registry pushes
- Refactor Chromecast discovery to use modern CastBrowser API
This commit is contained in:
pie
2026-05-03 17:19:26 +01:00
parent d0dba8183b
commit 067cc51cf2
8 changed files with 95 additions and 21 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
#!/bin/bash
# Start FastAPI backend in the background
echo "Starting FastAPI backend..."
uvicorn app.api:app --host 0.0.0.0 --port 8003 &
echo "Starting FastAPI backend on port ${API_PORT:-8055}..."
uvicorn app.api:app --host 0.0.0.0 --port ${API_PORT:-8055} &
# Start Streamlit frontend
echo "Starting Streamlit frontend..."
streamlit run app/main.py --server.port 8503 --server.address 0.0.0.0
echo "Starting Streamlit frontend on port ${STREAMLIT_PORT:-8505}..."
streamlit run app/main.py --server.port ${STREAMLIT_PORT:-8505} --server.address 0.0.0.0
# Wait for any process to exit
wait -n