- 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
21 lines
421 B
Bash
Executable File
21 lines
421 B
Bash
Executable File
#!/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
|
|
|