feat: initial commit

This commit is contained in:
2026-03-05 22:12:38 +01:00
commit bce762a783
380 changed files with 51955 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
set -e
FLAMENCO_MODE="${FLAMENCO_MODE:-manager}"
if [ "$FLAMENCO_MODE" = "manager" ]; then
echo "Starting Flamenco Manager..."
# Flamenco 3.x reads flamenco-manager.yaml from the working directory
exec /opt/flamenco/flamenco-manager
elif [ "$FLAMENCO_MODE" = "worker" ]; then
echo "Starting Flamenco Worker..."
echo "Manager URL: ${FLAMENCO_MANAGER_URL:-http://flamenco-manager:8080}"
# Flamenco 3.x reads flamenco-worker.yaml from the working directory
exec /opt/flamenco/flamenco-worker
else
echo "ERROR: Unknown FLAMENCO_MODE='${FLAMENCO_MODE}'. Use 'manager' or 'worker'."
exit 1
fi