Initial Cloudron package for Jellyseerr
- Add CloudronManifest.json with app configuration - Add Dockerfile with Node.js 22 support and multi-stage build - Add start.sh script for runtime initialization - Add icon.png for the app - Update README.md with installation and usage instructions - Configure config directory symlink to /app/data for persistent storage
This commit is contained in:
20
start.sh
Executable file
20
start.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
echo "Starting Jellyseerr..."
|
||||
|
||||
# Set environment variables for Cloudron
|
||||
# Cloudron provides PORT, but Jellyseerr may use PORT_NUMBER
|
||||
export PORT=${PORT:-5055}
|
||||
export PORT_NUMBER=${PORT:-5055}
|
||||
export NODE_ENV=production
|
||||
|
||||
# Ensure config directory and required subdirectories exist
|
||||
mkdir -p /app/data/config/logs
|
||||
mkdir -p /app/data/config/db
|
||||
|
||||
# Start Jellyseerr
|
||||
cd /app/code/jellyseerr
|
||||
exec pnpm start
|
||||
|
||||
Reference in New Issue
Block a user