feat: resolve chromecast discovery conflict and add CI/CD workflow
Build and Push Docker Image / build-and-push (push) Failing after 10m6s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user