mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "8562dd1b9360933789e25c85a1705e5dfe02f02e" and "496b9bf92ce8ba1a8995bfce0f6f9f8cbee0d49a" have entirely different histories.
8562dd1b93
...
496b9bf92c
|
@ -21,7 +21,7 @@ echo -e "Loading..."
|
|||
APP="Jellyseerr"
|
||||
var_disk="8"
|
||||
var_cpu="2"
|
||||
var_ram="2048"
|
||||
var_ram="4096"
|
||||
var_os="debian"
|
||||
var_version="12"
|
||||
variables
|
||||
|
@ -66,7 +66,7 @@ then
|
|||
systemctl start jellyseerr
|
||||
exit
|
||||
fi
|
||||
CYPRESS_INSTALL_BINARY=0 yarn install --frozen-lockfile --network-timeout 1000000 &>/dev/null
|
||||
yarn install &>/dev/null
|
||||
yarn build &>/dev/null
|
||||
systemctl start jellyseerr
|
||||
msg_ok "Updated $APP"
|
||||
|
@ -77,6 +77,10 @@ start
|
|||
build_container
|
||||
description
|
||||
|
||||
msg_info "Setting Container to Normal Resources"
|
||||
pct set $CTID -memory 2048
|
||||
msg_ok "Set Container to Normal Resources"
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${APP} should be reachable by going to the following URL.
|
||||
${BL}http://${IP}:5055${CL} \n"
|
||||
|
|
|
@ -33,17 +33,15 @@ $STD apt-get update
|
|||
$STD apt-get install -y nodejs
|
||||
msg_ok "Installed Node.js"
|
||||
|
||||
msg_info "Installing Yarn"
|
||||
$STD npm install -g yarn
|
||||
msg_ok "Installed Yarn"
|
||||
msg_info "Installing pnpm"
|
||||
$STD npm install -g pnpm
|
||||
msg_ok "Installed pnpm"
|
||||
|
||||
msg_info "Installing Jellyseerr (Patience)"
|
||||
git clone -q https://github.com/Fallenbagel/jellyseerr.git /opt/jellyseerr
|
||||
cd /opt/jellyseerr
|
||||
$STD git checkout main
|
||||
CYPRESS_INSTALL_BINARY=0 yarn install --frozen-lockfile --network-timeout 1000000 &>/dev/null
|
||||
$STD yarn install
|
||||
$STD yarn build
|
||||
CYPRESS_INSTALL_BINARY=0 pnpm install --frozen-lockfile &>/dev/null
|
||||
$STD pnpm build
|
||||
mkdir -p /etc/jellyseerr/
|
||||
cat <<EOF >/etc/jellyseerr/jellyseerr.conf
|
||||
PORT=5055
|
||||
|
@ -55,15 +53,17 @@ msg_ok "Installed Jellyseerr"
|
|||
msg_info "Creating Service"
|
||||
cat <<EOF >/etc/systemd/system/jellyseerr.service
|
||||
[Unit]
|
||||
Description=jellyseerr Service
|
||||
After=network.target
|
||||
Description=Jellyseerr Service
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/jellyseerr/jellyseerr.conf
|
||||
Environment=NODE_ENV=production
|
||||
Type=exec
|
||||
Restart=on-failure
|
||||
WorkingDirectory=/opt/jellyseerr
|
||||
ExecStart=/usr/bin/yarn start
|
||||
ExecStart=/usr/bin/node dist/index.js
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue