Files
pie 067cc51cf2
Build and Push Docker Image / build-and-push (push) Failing after 10m6s
feat: resolve chromecast discovery conflict and add CI/CD workflow
- 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
2026-05-03 17:19:26 +01:00

16 lines
462 B
Bash

#!/bin/bash
# Start FastAPI backend in the background
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 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
# Exit with status of process that exited first
exit $?