Initial Whisparr Cloudron app implementation
- Created Dockerfile with multi-stage build using thespad/whisparr image - Added CloudronManifest.json with proper configuration (port 6969) - Created start.sh script to launch Whisparr - Added README.md with installation instructions - Copied all required musl-compatible libraries: - musl libc dynamic linker - C++ standard library (libstdc++) - GCC support library (libgcc_s) - ICU libraries for .NET globalization - OpenSSL libraries for HTTPS/TLS - SQLite library for database operations - Brotli compression libraries - zlib library - Configured for amd64 architecture (Cloudron compatible)
This commit is contained in:
32
start.sh
Executable file
32
start.sh
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
echo "Starting Whisparr..."
|
||||
|
||||
# Find the Whisparr binary (it might be in different locations)
|
||||
WHISPARR_BIN=""
|
||||
|
||||
if [ -f /app/code/whisparr/bin/Whisparr ]; then
|
||||
WHISPARR_BIN="/app/code/whisparr/bin/Whisparr"
|
||||
elif [ -f /app/code/whisparr/Whisparr/Whisparr ]; then
|
||||
WHISPARR_BIN="/app/code/whisparr/Whisparr/Whisparr"
|
||||
elif [ -f /app/code/whisparr/Whisparr ]; then
|
||||
WHISPARR_BIN="/app/code/whisparr/Whisparr"
|
||||
else
|
||||
# Try to find it
|
||||
WHISPARR_BIN=$(find /app/code/whisparr -name "Whisparr" -type f | head -1)
|
||||
fi
|
||||
|
||||
if [ -z "$WHISPARR_BIN" ] || [ ! -f "$WHISPARR_BIN" ]; then
|
||||
echo "Error: Could not find Whisparr binary"
|
||||
echo "Searched in: /app/code/whisparr"
|
||||
find /app/code/whisparr -type f | head -10
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Ensure it's executable
|
||||
chmod +x "$WHISPARR_BIN" 2>/dev/null || true
|
||||
|
||||
echo "Found Whisparr at: $WHISPARR_BIN"
|
||||
exec "$WHISPARR_BIN" -nobrowser -data=/app/data/config/
|
||||
Reference in New Issue
Block a user